AI Treasure Hunt

Watch BFS, DFS & A* navigate the maze to find the treasure

Speed

Click cells to toggle walls  |  Drag 🧭 or 💰 to move start/goal

Legend
Explorer (Start)
Treasure (Goal)
Wall / Obstacle
BFS Explored
DFS Explored
A* Explored
Final Path
Algorithm Info
BFS

Explores all neighbors level by level. Guarantees the shortest path.

Statistics
Cells Visited
Path Length
StatusReady
Log
  • Select an algorithm and press Run.