Thanks for the feedback!
The possibility of reaching a dead end is the idea of the game, something like Tron or Snake, I was thinking of making the player have to replays to understand how to complete the level, but, yeah, now I realise that this is not most successful decision