CSCI 1321 (Principles of Algorithm Design II), Spring 2003:
Homework 2

Due:
Design due February 12, 2003, at 5pm; code due February 14, 2003, at 5pm.

Credit:
Design 20 points; code 40 points.

What you are to do

First review Dr. Lewis's Project Description. Then read the specific instructions for Assignment 2.

In this assignment you are to design and begin implementing the following.

Completing the design step

You should already have set up a Together project for your game (as part of Homework 1). You can add to this project for Homework 2, but it might be better to create a new project in a new directory and copy into it your Java source file (for your main class) from Homework 1. Notice that for this project you should use the Assignment 2 JAR file.

Once you have created/copied the project, do the following.

Turning in your design

Send me e-mail (at bmassing@cs.trinity.edu) telling me that your design is ready to be graded. Please use a subject line that mentions the course name and the assignment number (e.g., ``cs1321 design 2'' or ``PAD2 design 2''). You are free to make changes to your work after sending this message, but be advised that if the files containing your documentation have timestamps past the deadline, the assignment will be considered late.

Completing the code step

For this step, finish writing the code for the classes you designed in the design step, and make any required changes to the GameSetup class. As before, compile and test your code. You should also try running Dr. Lewis's screen editor program. It uses methods not used by the game itself, so by running it you can check that those methods also work correctly. See his Assignment 2 writeup for more information on running this program.

When you are happy with how your code works, generate a final version of your documentation, as described above except putting the result in Local/HTML-Documents/PAD2Project/Assn2/Final.

Turning in your code

E-mail all your source code (.java files), and any additional files needed for your game (e.g., files created by the screen editor) to me at bmassing@cs.trinity.edu. You may use either of the following methods.



Berna Massingill
2003-02-11