The game framework will find that there's no tile in that direction, and tell the player that he (or she) has turned back. So they're still stuck in that square, but they get a rough explanation.

The idea is that, when someone adds a tile, we don't have to edit every adjacent tile to let the player move to it. They're more or less independent units. This will become more important as the game grows.