Running the game
You can now run the game and bounce the ball around the screen. The score will increase when you hit the ball with the bat and the lives will decrease when you miss it. When lives
reaches 0, the score will reset, and the lives
variable will go back up to 3, as follows:
Figure 7.1: Running the game