Keep the scoreboard up to date, and stop the game if the number of lifes falls to zero.