CSPP 51090 Software Construction Assignment 4 |
| Due: 5:00pm April 29, 2003 |
Your task is to implement Bazaar-o-matic, which implements a fully automated version of Bazaar. [10pts] The program provides an administrator and a player. The administrator manages the equations, the deck of cards, the color die, and the game itself. Each player registers with the administrator. Once the game is started, the administrator gives each of the players one turn per round. The automatic player uses the following simple strategy:
Rationale: as soon as you buy the card, you get points and you prevent someone else from buying it. To give you a starting point for your design, we provide a collection of Java-style interfaces: Whether you use Java or not, you must use these three interfaces to organize your Bazaar-o-matic.Conduct the following stress test. Play 1,000 games of 100 rounds each with two instances of the player class. Record the number of ties and the number of wins for each player. [1pt] |
| CSPP 51090 Software Construction |