Added ending to the game.