This was a school programming project to create the game of pong in java.
The specs were:
Make the ball bounce off the walls properly
Paddle Moves via MouseWheelListener (But not past top or bottom)
Bounces off Paddle
Score increases by one with every paddle Hit
Save / Restore current game via Button