Hi!, the game has a clue to differentiate the correct path, basically it consists of looking at the continuity of the map by the edges.
Thanks for playing!.