See the assignment turn-in page (last modified on 14 February 2008) for instructions on turning in your assignment.
rclayton@monmouth.edu
) your choice so I can keep track.
Everybody has to implement a different game.
For convenience, here's the list of games; crossed-out games have already been picked. Go to Solitaire Games for detailed descriptions.
Your program should be essentially be a game referee. It should set up and conduct the game, making sure the rules are followed, and determine when the game is lost or won, keeping score as required by the game. Your program should not actually play the game.
You are developing a back end for a solitaire game. The technical term for what you'll be developing is the model part of the model-view-controller pattern.
You may assume the player is knows how to play the game but isn't necessarily fair. Instances of game misplay should be detected and handled appropriately by, for example, ending the game. You should not assume that the player will be human.
playerAPI
(the case is exact). It should be possible to play your game
through the methods exported from the playerAPI
package.
It must be possible to play the game entirely through method calls in your player-API, passing requests to the game and getting repsonses back. Your implementation must not require a GUI- or terminal-based interface. You may create such an interface to develop and test your code, but it must be possible to play your game without a visual or interactive interface.
playerAPI
package. Your
documentation should include overview and package documentation. You can
review Documentation Comments starting on page 144 in Horstmann and Cornell to
pick up on the details.
This documentation is part of the writing requirement for this class.
This page last modified on 4 April 2008. |
|