Design 40 points; code 20 points.
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.
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.
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.
You will also need (to pass to the constructor for MainFrame) an instance of a class implementing GameSetup. For now, you can get one of these by using the (static) method instance of class BasicGameSetup.
(See the ``Files and links'' section at the end of this document for a link to documentation about the game framework. It's also linked from the course ``Useful links'' page.)
When you compile this program and run it, it should bring up a window that lets you play Dr. Lewis's starter game.