protected class SwingDriver.SwingRandomPlayer extends RandomPlayer
Modifier and Type | Field and Description |
---|---|
int |
DELAY |
Modifier | Constructor and Description |
---|---|
protected |
SwingDriver.SwingRandomPlayer() |
Modifier and Type | Method and Description |
---|---|
Move |
move(Backgammon backgammon)
Requests that the player make a move using the given
backgammon setup.
|
lost, won
public Move move(Backgammon backgammon)
RandomPlayer
move
in interface Player
move
in class RandomPlayer
backgammon
- The current backgammon situation