CSPP 51090 Software Construction Assignment 7 |
| Due: 5:00pm May 20, 2003 |
Modify the project to enforce the 10-pebbles rule: [2pts] If at the end of a turn a player has more than 10 pebbles, the administrator must remove all the superfluous pebbles.Also state and implement a contract that enforces this invariant. [1pt] Take a look at the suggested new interface and the revised sequence contract. [1pt] (How easy is it to change the state pattern version? How easy is it to change a checker that uses boolean variables?) Implement a human player. That is, implement a View for human players so that you and/or your friends can compete against the machine players. [5pts] |
| CSPP 51090 Software Construction |