C# Class GR.Gambling.Blackjack.BonusPairsAgent

Inheritance: IAgent
Afficher le fichier Open project: alexhanh/Botting-Library Class Usage Examples

Protected Properties

Свойство Type Description
betting_system GR.Gambling.Blackjack.Betting.BettingSystem
current_bet int
ev_cutoff double
game_logger GameLogger
max_bet int
max_splits int
min_bet int
shoe Shoe
shoe_ev double
split_count int

Méthodes publiques

Méthode Description
Bet ( int roll_before ) : int
BonusPairsAgent ( int min_bet, int max_bet, double ev_cutoff, BettingSystem betting_system ) : System
GetAction ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : ActionType
GetActions ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : List
ResetShoe ( bool forced ) : bool
RoundOver ( CardSet seen_cards, CardSet dealer_hand, CardSet player_hands, long game_id, int roll_after ) : void
TakeInsurance ( CardSet seen_cards ) : bool
ValidateActions ( CardSet active_hand, List available_actions ) : void

Private Methods

Méthode Description
EvaluateEV ( ) : void
ExpectedMoney ( Hand dealer, Hand player ) : int
GetActionEV ( Shoe tmp_shoe, CardSet active_hand, ActionType action, Card dealer_upcard ) : double
InitializeRound ( ) : void

Method Details

Bet() public méthode

public Bet ( int roll_before ) : int
roll_before int
Résultat int

BonusPairsAgent() public méthode

public BonusPairsAgent ( int min_bet, int max_bet, double ev_cutoff, BettingSystem betting_system ) : System
min_bet int
max_bet int
ev_cutoff double
betting_system GR.Gambling.Blackjack.Betting.BettingSystem
Résultat System

GetAction() public méthode

public GetAction ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : ActionType
seen_cards CardSet
dealer_upcard Card
player_hands CardSet
active_hand int
available_actions List
Résultat ActionType

GetActions() public méthode

public GetActions ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : List
seen_cards CardSet
dealer_upcard Card
player_hands CardSet
active_hand int
available_actions List
Résultat List

ResetShoe() public méthode

public ResetShoe ( bool forced ) : bool
forced bool
Résultat bool

RoundOver() public méthode

public RoundOver ( CardSet seen_cards, CardSet dealer_hand, CardSet player_hands, long game_id, int roll_after ) : void
seen_cards CardSet
dealer_hand CardSet
player_hands CardSet
game_id long
roll_after int
Résultat void

TakeInsurance() public méthode

public TakeInsurance ( CardSet seen_cards ) : bool
seen_cards CardSet
Résultat bool

ValidateActions() public méthode

public ValidateActions ( CardSet active_hand, List available_actions ) : void
active_hand CardSet
available_actions List
Résultat void

Property Details

betting_system protected_oe property

protected BettingSystem,GR.Gambling.Blackjack.Betting betting_system
Résultat GR.Gambling.Blackjack.Betting.BettingSystem

current_bet protected_oe property

protected int current_bet
Résultat int

ev_cutoff protected_oe property

protected double ev_cutoff
Résultat double

game_logger protected_oe property

protected GameLogger,GR.Gambling.Blackjack game_logger
Résultat GameLogger

max_bet protected_oe property

protected int max_bet
Résultat int

max_splits protected_oe property

protected int max_splits
Résultat int

min_bet protected_oe property

protected int min_bet
Résultat int

shoe protected_oe property

protected Shoe,GR.Gambling.Blackjack shoe
Résultat Shoe

shoe_ev protected_oe property

protected double shoe_ev
Résultat double

split_count protected_oe property

protected int split_count
Résultat int