Rectangular Maze Generator

Each interior cell has up to four neighbors: north, east, south, and west. Walls are drawn only where the graph has no passage.

Supported size is 5 × 5 through 80 × 80, with a 6,400-cell cap. Presets: 10 × 10 small, 20 × 20 medium, 35 × 35 large, 50 × 50 extra large. Entrance defaults to the north-west cell and the exit to the south-east cell unless you regenerate with a farthest-exit search during play setup.

All three spanning-tree algorithms work here. Compare them in the algorithms guide.

Preparing workshop…

Time 00:00.0Moves 0
Total cells—
Open passages—
Dead ends—
Junctions—
Independent cycles—
Shortest solution—
Solution coverage—
Algorithm—
Seed—
Actual rooms—
Corridor cells—