Maze Generator & Solver
Rows × Columns
Generator
Recursive Backtracker (DFS)
Randomized Prim
Randomized Kruskal
Search algorithm
BFS (breadth-first)
DFS (depth-first)
Dijkstra
A*
Greedy Best-First
Bidirectional BFS
Iterative Deepening DFS
Wall Follower (Right-hand)
Speed (steps/sec)
Generate maze
Clear paths
Solve
Pause
Step
Set start
Set goal
Reset player
Export PNG
Toggle visited/frontier
Tip: Move with
WASD
or arrow keys. Click “Set start/goal” then click a cell.
Shortcuts & help
G
Generate ·
R
Solve ·
P
Pause/Resume
C
Clear ·
.
Single step
I
Set start ·
O
Set goal
Movement: Arrows or
W A S D
Start
Goal
Player
Final path