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