CSCI 3326

Assignment #7

Due date:  Start of class Monday, 2/23/2009

 

Hand in:

1)     Place all of your source code files ( .java files ) into a single file, compress that file into a zip with the title "yourFirstNameYourLastNamehwkX.zip" (for example, RobertSchwellerhwk7.zip), and send this zip file to me as an email attachment.  The subject of the email must be:

cs3326hwk7

2)    Also turn in a hardcopy of your source code along with a printout of a sample run.

 

 

                                                                                                                         

Make a simple "Pong" game.  Pong is a game in which two players hit a ball back and forth and try to score a goal by hitting the ball past the opponent.  A simple (and ugly) example can be seen here:

 

http://www.xnet.se/javaTest/jPong/jPong.html

 

You may make the opponent computer controlled, but at least one of the players should be human controlled either by mouse or keyboard.  Bonus points may be awarded for particularly cool features added to your game (gravity, multiple balls, buttons to turn cool features on or off).

 

As with all assignments, your code must be your own and not taken from another student or from anywhere else.