root@coding-prodigies:~#
← Games 🧭

Maze Generator + Solver

Procedurally generate a maze, then watch an algorithm solve it step by step.

🔴 HardDifficulty
3-4 hoursTime
Python, JavaScript, TypeScriptLanguages

What you're building

A maze generator using recursive backtracking (the same technique behind real procedural dungeon generators), plus a breadth-first-search solver that animates the shortest path from start to finish.

What you'll unlock 🔓

Recursive backtrackingPathfinding (BFS)Grid algorithms

You'll need

🗺️ Build roadmap

01 Setup 02 Build the grid 03 Generate the maze with backtracking 04 Draw the maze 05 Solve it with BFS 06 Animate the solution path
🔒

Log in to start building

Your first project is free -- create an account to unlock it.

Log in Sign up free

👀 If you liked this...