Wednesday, November 19, 2008

Pong V2.0

Your Pong game is due at the start of class tomorrow. When you're done, I want your program files uploaded in a compressed (zipped) archive; I ONLY want your .cpp, .bmp, & .wav files. Also, you must make sure that the zipped archive is smaller than 2Mb.

Your Pong code should have the following:

  • Keep track of the current score.
  • Keep track of the current number of times the ball has hit the paddle; reset this number when somebody wins.
  • There should be a sound played when the ball strikes a paddle.
  • There should be a different sound played when the ball strikes a wall.
  • There should be a sound played when a player wins.
  • There should be a background image.
  • The paddles should be replaced by similarly sized bitmap images.
  • The ball should be replaced with a similarly sized bitmap image.
  • The rest time in the main logic loop should get shorter as the number of hits increases.
  • Add something *else* to make your Pong game unique.

  • .

    No comments: