Adding a game loop and scoring