Project 3

Your third project is to extend the program developed in your second project. In the new version of the robot war you need to implement the following:

In order to complete the assignments you need to decide on several things like:

Please have all these decisions well commented in the correspondin methods.

To complete this project, you need to perform object-oriented design of your new system. In this step, you need to review the design of your previous project and decide what changes you need to make. Try to reuse as much code as you can. During this step you need to come up with new object hierachical structure. I would recommend creating an abstract class BattleObject and derive all classes for robots, mines, towers from this object. Try to include all common characteristics in the base class as well as the interface (the set of methods you will need all your objects to have).

If you follow this direction, then you will have to slightly redesign your PRobot class (may be give it a better name too).

The completed project should include three parts:

  1. MS Visio document with the schema that results your object-oriented analysis;
  2. detailed description of each class, which includes a short description of the class, the way it will be used in the program code, and detailed description of each method (especially public) of the class. That can be done as comments in the header files. Please take it seriously, this part will be graded separately. I will also grade how the code in the method corresponds to its comments.
  3. the working program code.

Additional requirements: