public interface Roots
Modifier and Type | Method and Description |
---|---|
void |
newMatch()
Notifies the book intance that the next positions are going to
be from a different match.
|
int |
pickBestMove(Game game)
Chooses one move at random from the best moves found on the book.
|
void newMatch()
int pickBestMove(Game game) throws java.io.IOException
game
- The game for which a best move must be returnedGame.NULL_MOVE
if no move could be foundjava.io.IOException
- If an I/O exception occurred