Added implementation in the Game class to calculate scores and manage time.