Controls
- Press T to toggle auto/manual mode
- Press the Up/Down arrow keys to change speed
- Press Press the Left/Right arrow keys to step forward/back in manual mode
Depth-First Search Explanation
In a depth-first search, we pick an intial node and apply the recursive function
- Mark it as visited
- For each unvisited adjacent node, apply the recursive function
Due to the nature of the recursive stack, the recursion will attempt to go as
deep as possible before unwinding.