Ping Pong7:32 with Alena Holligan
In this video, we'll create a simple ping pong game to demonstrate another use case for while loops.
- player must reach a score of 11
- player must be a minimum of 2 points higher than opponent
WHILE those conditions are NOT met, a single player will receive 1 point at the end of each round.
You need to sign up for Treehouse in order to download course files.Sign up