Added a tilebased system to the game.