A maze where every point is reachable and where there is only one single path from one point in the maze to any other point is called a perfect maze.
This generator visualize 2 famous algorithm of maze generation.

  • Aldous-Broder Algorithm
  • Recursive Backtracker Algorithm

Read more about them here:
Buckblog: Maze Generation: Algorithm Recap (jamisbuck.org)
Best discussion ever on maze generation algorithms: 

http://www.jamisbuck.org/presentations/rubyconf2011/index.html 

Leave a comment

Log in with itch.io to leave a comment.