C# Class Blackjack.Players.BasicStrategyPlayer

Inheritance: IBlackjackPlayer
Show file Open project: tansey/blackjack Class Usage Examples

Public Methods

Method 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 method

public BasicStrategyPlayer ( long hands ) : System
hands long
return System

BuyInsurance() public method

public BuyInsurance ( HandInfo info ) : bool
info HandInfo
return bool

DoubleDown() public method

public DoubleDown ( HandInfo info ) : bool
info HandInfo
return bool

GetBet() public method

public GetBet ( decimal min, decimal max ) : decimal
min decimal
max decimal
return decimal

HandOver() public method

public HandOver ( HandInfo info ) : void
info HandInfo
return void

Hit() public method

public Hit ( HandInfo info ) : bool
info HandInfo
return bool

PlayAnotherHand() public method

public PlayAnotherHand ( ) : bool
return bool

Split() public method

public Split ( HandInfo info ) : bool
info HandInfo
return bool

Surrender() public method

public Surrender ( HandInfo info ) : bool
info HandInfo
return bool