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 Actionprivate ActiongetRandomApplyImprovementFromInventoryAction(Board board, BotState botState) private Actionprivate ActiongetRandomDrawAction(Board board) private Actionprivate ActiongetRandomGrowBambooAction(Board board) private ActiongetRandomMoveGardenerAction(Board board) getRandomMovePandaAction(Board board) private Actionprivate Actionprivate ActiongetRandomPlaceTileAction(Board board) private ActiongetRandomRedeemObjectiveAction(BotState botState)
-
Field Details
-
random
-
-
Constructor Details
-
FullRandomBot
public FullRandomBot()
-
-
Method Details
-
chooseAction
Description copied from interface:BotThis method will allow the player to choose an action to execute.- Specified by:
chooseActionin 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
-