CSCI 1321 (Principles of Algorithm Design II), Spring 2010:
Homework 1

Credit

Design 40 points; code 20 points.

Overview

This assignment is less about you writing code and more about thinking about what you are going to do for the project and getting used to Java and the IDE. As with all of the assignments, there are two distinct due dates. On the first one you will turn in your design documents; on the second one you will submit the code itself. In this assignment, the code is very short and simple; you will likely write far more comments (describing your design) than code.

Before reading further, be sure you have read the Project Description giving the overall description of the project and general requirements.

Design

You will write your design in the form of comments for the class that will contain your main program; they will then appear in the HTML documentation generated by Eclipse (or with the javadoc command). This documentation will not necessarily set in stone every detail of the game you will write, but you should be as specific as you can. In particular, you should first give a general description of the game and roughly how the user will play it, and then explain how you will implement this using Dr. Lewis's framework (i.e., what kinds of Block, and GameEntity classes do you think you will need?) For example, in a very simple Pacman-style game you might need two kinds of blocks, one for walls (obstacles) and one for the rest of the playing field, and two kinds of game entities, one for enemies and one for things you pick up to score points.

Step-by-step instructions

Code

For this assignment, all you have to write is a main method for the class you defined in the design phase. See the step-by-step instructions below for what should be in this method.

Step-by-step instructions

Files and links



Berna Massingill
2010-03-30