Playground

Procedural generation · Depth-first search

Maze Generator

The generator uses randomized depth-first search to connect all 400 cells without loops. Each maze has one route between any two cells.

Preparing maze

Start End 20 × 20 cells