Colors and Random NumbersTopMore Conditionals

More Conditionals

  1. Our first attempt at writing Pong. Unfortunately, the paddle doesn't stay in the boundaries.

    Click on PongUnbounded to show the example.

  2. Our second attempt at writing Pong. This time the paddle stays in the boundaries.

    Click on PongPaddleBounded to show the example.


Colors and Random NumbersTopMore Conditionals