Package | Description |
---|---|
games.checkers |
The simple version of American Checkers.
|
Modifier and Type | Field and Description |
---|---|
Checker |
Game.checkerMoved
The checker that last moved and must be moved because only one checker can move during each players turn.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Checker> |
Player.checkers
All the checkers currently in the game owned by this player.
|
java.util.List<Checker> |
Game.checkers
All the checkers currently in the game.
|
Modifier and Type | Method and Description |
---|---|
Checker |
Checker.move(int x,
int y)
Moves the checker from its current location to the given (x, y).
|
Modifier and Type | Method and Description |
---|---|
void |
AI.gotCaptured(Checker checker)
This is called whenever your checker gets captured (during an opponent's turn).
|
© 2020 MST ACM SIG-GAME