C# Class GR.Gambling.Backgammon.HCI.ComplexTimedThinker

Inheritance: TimedThinker
Afficher le fichier Open project: alexhanh/Botting-Library

Méthodes publiques

Méthode Description
ComplexTimedThinker ( double coefficient, double undo_probability ) : System
TimeOnDiceRolled ( GameState gamestate ) : int
TimeOnDoubleOffer ( GameState gamestate, DoubleResponseHint hint ) : int
TimeOnRematchOffer ( ) : int
TimeOnResignOffer ( GameState gamestate, ResignResponseHint hint ) : int
TimeOnStartingDiceRolled ( GameState gamestate ) : int
TimeOnTurnChanged ( GameState gamestate, DoubleHint doubleHint, ResignHint resignHint ) : int
TimedPlayOnRoll ( GameState gamestate, List hints, VenueUndoMethod undo_method ) : TimedPlay
TimedPlayOnRoll ( GameState gamestate, Play play ) : TimedPlay

Private Methods

Méthode Description
HasBlockaded ( GameState gamestate ) : bool
SortMoves ( GameState gamestate, Play play, List legal_plays, List forced_moves ) : Play

Method Details

ComplexTimedThinker() public méthode

public ComplexTimedThinker ( double coefficient, double undo_probability ) : System
coefficient double
undo_probability double
Résultat System

TimeOnDiceRolled() public méthode

public TimeOnDiceRolled ( GameState gamestate ) : int
gamestate GameState
Résultat int

TimeOnDoubleOffer() public méthode

public TimeOnDoubleOffer ( GameState gamestate, DoubleResponseHint hint ) : int
gamestate GameState
hint GR.Gambling.Backgammon.Tools.DoubleResponseHint
Résultat int

TimeOnRematchOffer() public méthode

public TimeOnRematchOffer ( ) : int
Résultat int

TimeOnResignOffer() public méthode

public TimeOnResignOffer ( GameState gamestate, ResignResponseHint hint ) : int
gamestate GameState
hint GR.Gambling.Backgammon.Tools.ResignResponseHint
Résultat int

TimeOnStartingDiceRolled() public méthode

public TimeOnStartingDiceRolled ( GameState gamestate ) : int
gamestate GameState
Résultat int

TimeOnTurnChanged() public méthode

public TimeOnTurnChanged ( GameState gamestate, DoubleHint doubleHint, ResignHint resignHint ) : int
gamestate GameState
doubleHint GR.Gambling.Backgammon.Tools.DoubleHint
resignHint GR.Gambling.Backgammon.Tools.ResignHint
Résultat int

TimedPlayOnRoll() public méthode

public TimedPlayOnRoll ( GameState gamestate, List hints, VenueUndoMethod undo_method ) : TimedPlay
gamestate GameState
hints List
undo_method VenueUndoMethod
Résultat TimedPlay

TimedPlayOnRoll() public méthode

public TimedPlayOnRoll ( GameState gamestate, Play play ) : TimedPlay
gamestate GameState
play Play
Résultat TimedPlay