Update Game Code

Adds a user input wait and end of game.