Puzzle workshop
Maze Solver
The solver is breadth-first search on an unweighted graph. It records predecessors and reconstructs the path. Depth-first search is not claimed to find shortest routes once loops exist.
Animate the path or export an answer sheet. Read the full write-up in How Maze Solvers Find the Shortest Path.
Preparing workshop…
Total cells—
Open passages—
Dead ends—
Junctions—
Independent cycles—
Shortest solution—
Solution coverage—
Algorithm—
Seed—
Actual rooms—
Corridor cells—
Wall and background colors have low contrast.