Package net.demilich.metastone.game.behaviour
package net.demilich.metastone.game.behaviour
Behaviours describe how a player should respond to events in the game.
-
ClassDescriptionA base class for behaviours that implement no action or a default action when its methods are called.Behaviours specify a delegate for player action and mulligan requests.A behaviour which instructs the player to always perform the last available action.A behaviour which randomly samples the game tree seeking sequences of actions that terminate in wins.GameStateValueBehaviour is an implementation of a decent AI with the best-in-class performance among bots in the community.This helper class stores a list of choices from an intermediate node expansion.This behaviour chooses actions randomly.Delegates the behaviour to a function passed in the constructor of this class.Utility behaviours help server and test code mock users or glue code together.