C# Class GR.Gambling.Blackjack.IAgent

显示文件 Open project: alexhanh/Botting-Library

Public Methods

Method Description
Bet ( int roll_before ) : int
GetAction ( CardSet seen_cards, Card dealer_upcard, CardSet player_hands, int active_hand, List available_actions ) : ActionType
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

Method Details

Bet() public abstract method

public abstract Bet ( int roll_before ) : int
roll_before int
return int

GetAction() public abstract method

public abstract 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
return ActionType

ResetShoe() public method

public ResetShoe ( bool forced ) : bool
forced bool
return bool

RoundOver() public method

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
return void

TakeInsurance() public abstract method

public abstract TakeInsurance ( CardSet seen_cards ) : bool
seen_cards CardSet
return bool