Changes done to include the info if the game finishes.