protected class TextDriver.TextHumanPlayer extends java.lang.Object implements Player
Modifier | Constructor and Description |
---|---|
protected |
TextDriver.TextHumanPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
lost()
Upcall to indicate that this player has lost the current game
|
Move |
move(Backgammon backgammon)
Requests that the player make a move using the given
backgammon setup.
|
void |
moveDone() |
void |
won()
Upcall to indicate that this player has won the current game
|
public Move move(Backgammon backgammon)
Player
public void moveDone()
public void won()
Player