Maze generator

A perfect maze has exactly one path between any two cells. Choose the size; the solved path is the key.

How it is made

Mazes are carved by a randomised depth-first walk and solved by breadth-first search, so the key is the shortest route. Free, with or without an account.

What you can do with it

Maze: play it in the browser, print it with its answer key, save it with an account, and add it to a book with a membership. Inputs: width (cells), height (cells), seed (optional).