Implementing lives
Up until now we have seen that the Breakout game ends when the ball falls below the paddle, which occurs when the player misses the ball. In the original gameplay, the player has three turns to clear as many bricks as possible across the two levels.