Another example.

Here, not only is the exit blocked, but so is the room with the button.
In your first game example, the strategy would have been to go right, not left, towards the exit.
… forgive me if I am wrong, but I think you must not have figured out the main rule of the game.
There is a lot less randomness in the game than you think. Here’s a hint.

This part is always consistent between games.