C# Class GR.Gambling.Blackjack.BasicStrategy

Inheritance: Agent
显示文件 Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method Description
BasicStrategy ( int max_bet, double ev_cutoff, double pp_multiplier ) : System
BasicStrategy ( int max_bet, double ev_cutoff, double pp_multiplier, BettingSystem betting_system ) : System
Bet ( Game game ) : int
DealCard ( Card card ) : void
GetBestAction ( Game game ) : ActionType
ResetShoe ( Game game ) : void
ShoeEV ( ) : double
Showdown ( Game game ) : void
Stop ( ) : void
TakeInsurance ( Game game ) : bool

Private Methods

Method Description
Evaluate ( Card upcard, Hand hand ) : List

Method Details

BasicStrategy() public method

public BasicStrategy ( int max_bet, double ev_cutoff, double pp_multiplier ) : System
max_bet int
ev_cutoff double
pp_multiplier double
return System

BasicStrategy() public method

public BasicStrategy ( int max_bet, double ev_cutoff, double pp_multiplier, BettingSystem betting_system ) : System
max_bet int
ev_cutoff double
pp_multiplier double
betting_system GR.Gambling.Blackjack.Betting.BettingSystem
return System

Bet() public method

public Bet ( Game game ) : int
game Game
return int

DealCard() public method

public DealCard ( Card card ) : void
card Card
return void

GetBestAction() public method

public GetBestAction ( Game game ) : ActionType
game Game
return ActionType

ResetShoe() public method

public ResetShoe ( Game game ) : void
game Game
return void

ShoeEV() public method

public ShoeEV ( ) : double
return double

Showdown() public method

public Showdown ( Game game ) : void
game Game
return void

Stop() public method

public Stop ( ) : void
return void

TakeInsurance() public method

public TakeInsurance ( Game game ) : bool
game Game
return bool