|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface AI
This interface represents an AI that may be used by a player to select a move
| Method Summary | |
|---|---|
void |
endGame(Player player,
Deck deck,
GameHistory history,
boolean simulation)
Indicates that one game round has ended |
Move |
selectMove(Move move,
Player player,
Deck deck,
GameHistory history,
boolean simulation)
Selects a move from the list of possible moves based on the implemented AI |
| Method Detail |
|---|
Move selectMove(Move move,
Player player,
Deck deck,
GameHistory history,
boolean simulation)
move - the move to respond toplayer - a cloned instance of the player who should respond to the move by using the implemented AIdeck - the deck used in this gamehistory - a cloned instance of the history of the gamesimulation - a boolean indicating whether the game is run in simulation
void endGame(Player player,
Deck deck,
GameHistory history,
boolean simulation)
player - a cloned instance of the player who should respond to the move by using the implemented AIdeck - the deck used in this gamehistory - a cloned instance of the history of the gamesimulation - a boolean indicating whether the game is run in simulation
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||