C# Class Blackjack.Players.SimpleFiveCountPlayer

A player which does some simple card counting and modifies the Wizard of Odds simple strategy slightly depending on the number of fives that have been seen.
Inheritance: WizardSimpleStrategy
Show file Open project: tansey/blackjack Class Usage Examples

Public Methods

Method Description
GetBet ( decimal min, decimal max ) : decimal
HandOver ( HandInfo info ) : void
Hit ( HandInfo info ) : bool
Reshuffle ( ) : void
SimpleFiveCountPlayer ( long handsToPlay ) : System
Surrender ( HandInfo info ) : bool

Method Details

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

Reshuffle() public method

public Reshuffle ( ) : void
return void

SimpleFiveCountPlayer() public method

public SimpleFiveCountPlayer ( long handsToPlay ) : System
handsToPlay long
return System

Surrender() public method

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