C# Class GR.Gambling.Blackjack.Game

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

Public Properties

Property Type Description
party_points double

Public Methods

Method Description
CanSplit ( ) : bool
CanSurrender ( ) : bool
DealRound ( ) : void
EndRound ( ) : void
Game ( Rules rules, Agent agent, double pp_multiplier, Random random ) : System
IsValidAction ( ActionType action ) : bool
RemoveCards ( int count ) : void
ResetShoe ( ) : void
StartRound ( ) : void
ToString ( ) : string
Upcard ( ) : Card

Private Methods

Method Description
AddPartyPoints ( int wager ) : void

Method Details

CanSplit() public method

public CanSplit ( ) : bool
return bool

CanSurrender() public method

public CanSurrender ( ) : bool
return bool

DealRound() public method

public DealRound ( ) : void
return void

EndRound() public method

public EndRound ( ) : void
return void

Game() public method

public Game ( Rules rules, Agent agent, double pp_multiplier, Random random ) : System
rules Rules
agent Agent
pp_multiplier double
random System.Random
return System

IsValidAction() public method

public IsValidAction ( ActionType action ) : bool
action ActionType
return bool

RemoveCards() public method

public RemoveCards ( int count ) : void
count int
return void

ResetShoe() public method

public ResetShoe ( ) : void
return void

StartRound() public method

public StartRound ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Upcard() public method

public Upcard ( ) : Card
return Card

Property Details

party_points public_oe property

public double party_points
return double