public interface Player
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 |
won()
Upcall to indicate that this player has won the current game
|
Move move(Backgammon backgammon)
backgammon
- The current backgammon situationvoid won()
void lost()