- GameInterface - Interface in <Unnamed>
-
To write a new game for the Bot!Battle! system, a java class must be written
that extends this interface with exactly the following signature.
- getBotTimeoutInMilliseconds() - Method in interface GameInterface
-
Number of milliseconds to wait for a bot's move (via their stdout stream) before
giving up and reporting a "null" move.
- getCompleteBoard() - Method in interface GameInterface
-
Currently unused
The idea was to combine both player 1 and player 2's view of the board into an
overall string representation of the board.
- getFinalGameStateJSON() - Method in interface GameInterface
-
A string containing a valid FinalGameState as defined in the documentation.
- getHumanTimeoutInMilliseconds() - Method in interface GameInterface
-
Number of milliseconds to wait for a human's move (via their stdout stream) before
giving up and reporting a "null" move.
- getInitialGameStateJSON() - Method in interface GameInterface
-
A string containing a valid InitialGameState as defined in the documentation.
- getMidGameStateJSON(String, String, int) - Method in interface GameInterface
-
A string containing a valid MidGameState as defined in the documentation.
- getName() - Method in interface GameInterface
-
Currently unused.
- getPlayerForCurrentTurn() - Method in interface GameInterface
-
Return the player number of the current turn (iteration of the game loop).
- getPlayerOneBoard() - Method in interface GameInterface
-
Called when getPlayerForCurrentTurn() has indicated that it's
player 1's turn.
- getPlayerTwoBoard() - Method in interface GameInterface
-
Called when getPlayerForCurrentTurn() has indicated that it's player 2's turn.