C# Class Blackjack.Players.BasicStrategyPlayer

Inheritance: IBlackjackPlayer
Afficher le fichier Open project: tansey/blackjack Class Usage Examples

Méthodes publiques

Méthode Description
BasicStrategyPlayer ( long hands ) : System
BuyInsurance ( HandInfo info ) : bool
DoubleDown ( HandInfo info ) : bool
GetBet ( decimal min, decimal max ) : decimal
HandOver ( HandInfo info ) : void
Hit ( HandInfo info ) : bool
PlayAnotherHand ( ) : bool
Split ( HandInfo info ) : bool
Surrender ( HandInfo info ) : bool

Method Details

BasicStrategyPlayer() public méthode

public BasicStrategyPlayer ( long hands ) : System
hands long
Résultat System

BuyInsurance() public méthode

public BuyInsurance ( HandInfo info ) : bool
info HandInfo
Résultat bool

DoubleDown() public méthode

public DoubleDown ( HandInfo info ) : bool
info HandInfo
Résultat bool

GetBet() public méthode

public GetBet ( decimal min, decimal max ) : decimal
min decimal
max decimal
Résultat decimal

HandOver() public méthode

public HandOver ( HandInfo info ) : void
info HandInfo
Résultat void

Hit() public méthode

public Hit ( HandInfo info ) : bool
info HandInfo
Résultat bool

PlayAnotherHand() public méthode

public PlayAnotherHand ( ) : bool
Résultat bool

Split() public méthode

public Split ( HandInfo info ) : bool
info HandInfo
Résultat bool

Surrender() public méthode

public Surrender ( HandInfo info ) : bool
info HandInfo
Résultat bool