Package | Description |
---|---|
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 |
---|---|
int |
SmartAI.score(Board b,
Player p,
Line s)
Return the score for player p, for the line s.
|
Modifier and Type | Field and Description |
---|---|
@NonNull Line |
Victory.line |
Modifier and Type | Field and Description |
---|---|
static java.lang.Iterable<Line> |
Line.ALL_LINES
The set of all valid lines
|
Constructor and Description |
---|
Victory(@NonNull Player winner,
Line line)
Create a new Victory with the given winner and line.
|