This is a simple JavaScript, HTML, and CSS project that generates random mazes on a canvas using a depth-first search algorithm. The user can specify the size of the maze, and the algorithm will create a maze with random pathways and walls.
Maze.Builder.mp4
- Generates random mazes with customizable dimensions.
- Depth-first search algorithm used to create the maze.
- Interactive user interface with buttons for generating and clearing the maze.
- Open the index.html file in your web browser.
- Enter a valid dimension (integer greater than or equal to 4) in the input field and click the "Generate Maze" button.
- The maze will be displayed on the canvas.
- To clear the maze, click the "Clear" button.