Bouncing Ball

Goals

  • Use position and speed variables to get a ball to move

  • Get the ball to bounce by reversing the speed when it reaches a boundary.

Starter code

Pygame Template

Video Tutorial

Final Code