Depth-First Search Maze Solver!

Mode: wall select/delete

  1. Click on a tile to toggle wall on (black) or wall off (blue)
  2. Press the S key and then select the starting tile (green) with your mouse
  3. Press the E key and then select the ending tile (orange) with your mouse
  4. Press the escape key to return to the normal mode of creating/deleting walls
  5. Press enter to have the computer solve the maze!
  6. Press the C key to clear all tiles
  7. Note: DFS is not the optimal algorithm for solving a maze, so some solution paths will be strangely long 🤯