Package com.takenoko.bot
Class FullRandomBot
java.lang.Object
com.takenoko.bot.FullRandomBot
- All Implemented Interfaces:
Bot
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseAction
(Board board, BotState botState, History history) This method will allow the player to choose an action to execute.private Action
private Action
getRandomApplyImprovementFromInventoryAction
(Board board, BotState botState) private Action
private Action
getRandomDrawAction
(Board board) private Action
private Action
getRandomGrowBambooAction
(Board board) private Action
getRandomMoveGardenerAction
(Board board) getRandomMovePandaAction
(Board board) private Action
private Action
private Action
getRandomPlaceTileAction
(Board board) private Action
getRandomRedeemObjectiveAction
(BotState botState)
-
Field Details
-
random
-
-
Constructor Details
-
FullRandomBot
public FullRandomBot()
-
-
Method Details
-
chooseAction
Description copied from interface:Bot
This method will allow the player to choose an action to execute.- Specified by:
chooseAction
in interfaceBot
- Parameters:
board
- The board of the game.botState
- The state of the bot.- Returns:
- The action chosen by the player.
-
getRandomGrowBambooAction
-
getRandomForcedMovePandaAction
-
getRandomApplyImprovementFromInventoryAction
-
getRandomPlaceIrrigationAction
-
getRandomPlaceIrrigationFromInventoryAction
-
getRandomRedeemObjectiveAction
-
getRandomChooseAndApplyWeatherAction
-
getRandomDrawAction
-
getRandomApplyImprovementAction
-
getRandomPlaceTileAction
-
getRandomMovePandaAction
-
getRandomMoveGardenerAction
-
getRandomDrawObjectiveAction
-