CS30 -- Introduction to Computer Science II
Fall, 2005
Assignment 6
(updated 10/4/2005)


Exercises:
[no exercises this week.]

Programming Projects:

1. Extend the Asteroids game program from the text.  (1) Change the world so that asteroids and rockets can wrap around from top to bottom and side to side.  (2) Alter your Station class so that it can move up and down and left and right.  You do not need to get fancy with drawing the Station -- the existing line is sufficient.  However, your new station should also wrap just like the asteroids and rockets will after step 1.  (3)  When asteroids are reduced to zero size, remove them from the list of asteroids.  (4) After a rocket has hit an asteroid or has moved for 25 time steps, remove it from the list of rockets.


Submission Instructions:
On your machine where you are doing your homework, create a folder called <your email name> followed by "A6".  For example, someone with email address "cjones" would create a folder called "cjonesA6".  Inside that folder, place plain text file(s) containing your answers to any exercises.  Also, place whatever Java files are necessary for your Programming Projects in the same folder.  Finally, either tar or zip the folder so that when extracted, the folder "<emailname>A6" will be created.  Finally, submit via Eureka.