Currently in the game, every time a new tile gets generated, it will always be able to be placed on the previous tile (unless it would be placed directly on another existing tile), however adding another check to make sure the tile won’t lead into a wall is a good idea. It would probably make the game more fair.