|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a computer-controlled Othello player. This provides the methods that must be implemented in order to play the game.
Method Summary | |
void |
makeMove(OthelloState state,
long timeLeft)
Get this player's next move. |
void |
setColor(OthelloPiece color)
Set the color of this player. |
void |
setTimeLimit(long timeLimit)
Set the time-limit that each move can make. |
Method Detail |
public void setColor(OthelloPiece color)
color
- The color to be used for this game.public void setTimeLimit(long timeLimit)
timeLimit
- The time-limit, in milliseconds.public void makeMove(OthelloState state, long timeLeft) throws InvalidMoveException
state
- The current state of the board.timeLeft
- The time left for your player.
InvalidMoveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |