back
Grandpa's Transit Map
The original source of the puzzle.
For my solution I employed a kind of depth-first search algorythm.
You can check out the code
here.
A tree diagram of the search:
And a P5.js animation of a solution: