Package | Description |
---|---|
clui |
This package contains the command-line user interface.
|
controller |
This package contains various controllers, which are strategies to select
the next move for a given player.
|
model |
this package contains all of the data structures used to model the
state of the five-in-a-row game, and for processing the rules of the game.
|
Modifier and Type | Method and Description |
---|---|
void |
BoardPrinter.gameChanged(Game g)
Print the current board and an indication of whether the game is over
and, if it is, whether it is a draw and who the winner is.
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.gameChanged(Game g)
Make a move for game g if possible.
|
Modifier and Type | Method and Description |
---|---|
void |
GameListener.gameChanged(Game g)
Respond appropriately to changes in the game g.
|