TOC - prev - next - javadoc tree

2.2. Strategy concept

A Strategy is the participating programmer's contribution to the game, and the means by which he competes. At the start of a game, each Player is bound to a Strategy, and the Strategy controls its Player.

A Strategy is represented by a class (or set of classes) which implements the Strategy interface.

A Strategy receives this information from the conductor:

But once a player is Bankrupt, the Strategy will receive only the bankrupt-notification, the ensuing end-of-turn notification, and the end-of-game notification.

A Strategy may make these decisions:

In each case, a Strategy is given the opportunity to choose, even when there is only one legal choice. The pseudo-choice serves as a notification.

A Strategy may make those decisions, but is not required to make them. If not, the conductor will choose.


TOC - prev - next - javadoc tree