Project 1 - Pong

It may not be the most exciting game ever but it will get your feet wet.

You are to write a game of pong.  You will have Sprites for the ball, paddle and maybe even for the walls.  I made four walls even though the bottom "wall" is invisible.  The paddle will be at the bottom of the screen and can only move right and left (controlled by the mouse).  You will probably want to make the cursor invisible during play. Make sure that the paddle can't move beyond the boundaries of the right and left walls.  When you click the mouse it will serve a ball from the paddle with a random velocity. 

The ball can bounce on the walls and paddle but will fall through the bottom invisible wall and will then no longer be in play.  Every time the ball bounces off the far wall the player will score a point.  Allow the player three balls in which to get a final score.  The score should be displayed somewhere on the screen.  Allow the player to play multiple games until the escape key is pressed to exit the game.

Be sure to add sound to your game!  I am providing some possible sounds for you or you can find your own.  You will need to check the formats on these files yourself. 

Enjoy!