8.3. INTERFACING 149
next i
i
nActions
AbstractGameState
SimplePlayerInterface getAction
reset
next
AbstractGameState
interface AbstractGameState {
AbstractGameState copy();
AbstractGameState next(int[] actions);
int nActions();
double getScore();
boolean isTerminal();
}
SimplePlayerInterface
reset
getAction
interface SimplePlayerInterface {
int getAction(AbstractGameState gameState, int playerId);
SimplePlayerInterface reset();
}
8.3.1 RUNNING GVGAI AGENTS ON THE JAVA GAMES
getAvatar