Skip to content

This project, MyMaze.java, creates a text-based maze using Java. It includes a randomly generated maze layout, a basic solving algorithm, and prints the maze structure to the console.

Notifications You must be signed in to change notification settings

Natpanthep/Maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 Java Maze Generator

A simple Java application that generates and displays a maze using a 2D grid. Ideal for learning basic concepts of arrays, randomization, and recursion in Java.

πŸ“ Project Structure

Maze/
β”œβ”€β”€ MyMaze.java       # Main Java source code for maze generation
β”œβ”€β”€ Maze.pptx         # Presentation file describing the project (optional)

πŸš€ How to Run

  1. Compile the Java file:
javac MyMaze.java
  1. Run the program:
java MyMaze

πŸ”§ Features

  • Generates a random maze on each run
  • Uses standard maze generation techniques (e.g. recursive backtracking or random path carving)
  • Console-based visualization

πŸ› οΈ Tech Used

  • Java (JDK 8+)
  • No external libraries required

About

This project, MyMaze.java, creates a text-based maze using Java. It includes a randomly generated maze layout, a basic solving algorithm, and prints the maze structure to the console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages