Skip to content

qyuo/maze-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maze Builder

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.

Demo

Maze.Builder.mp4

Features

  • 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.

How to Use

  1. Open the index.html file in your web browser.
  2. Enter a valid dimension (integer greater than or equal to 4) in the input field and click the "Generate Maze" button.
  3. The maze will be displayed on the canvas.
  4. To clear the maze, click the "Clear" button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published