This is the front end of the game.