Instructions
Problem 4
Version: 5.2.1

Assignment 9

Goals: Practice independent design of classes and method in the presence of mutation.

Instructions

The names of the projects and some of the project files must be exactly the same as specified in the assignment. Failure to do so makes it impossible for the graders to run your submission and results in immediate loss of at least 50% of the homework credit.

Make sure you follow the style guidelines for code indentation.

You will submit this assignment by the deadline using the Web-CAT submission system.

With each homework you will also submit your log file named pairxxx.txt where you replace xxx with your pair number.

On top of every file you submit you will have the names of both partners, and the pair number.

The .txt file will be the log of your work on this assignment. Each log entry will have data and time, who was present (one or both of the partners) and a short comment decribing what you were working on.

Due Date: Friday, November 16th, 11:59 pm.

Problem 4

Select one of the two games you or your partner have worked on for Assignment 4.

Convert the game into imperative (mutating) style, using the javalib.impworld library.

Make any improvements you wish, make sure you convert all tests into imperative style, and add new tests if the previous ones were not sufficient.

Write a |emph{Design Document} that explaining your design: how the classes in your program interact, how are they related to each other, how are the main actions of the game implemented. Includ a class diagram with your Design Document. Make it professionally looking.

Write a User’s Guide that explains to the csutomer how to play your game. Make it professionally looking.

Make sure these documents have the names of the two partners on the top.