C# Class Blackjack.Players.WizardSimpleStrategy

This class implements the Simple Wizard Strategy described at the WizardOfOdds page: http://wizardofodds.com/blackjack/apx21.html The EV of this strategy at a single-deck game with Vegas Strip rules is -0.67%.
Inheritance: IBlackjackPlayer
Show file Open project: tansey/blackjack

Public Methods

Method Description
BuyInsurance ( HandInfo info ) : bool
DoubleDown ( HandInfo info ) : bool
GetBet ( decimal min, decimal max ) : decimal
HandOver ( HandInfo info ) : void
Hit ( HandInfo info ) : bool
PlayAnotherHand ( ) : bool
Reshuffle ( ) : void
Split ( HandInfo info ) : bool
Surrender ( HandInfo info ) : bool
WizardSimpleStrategy ( long handsToPlay ) : System

Method Details

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

Reshuffle() public method

public Reshuffle ( ) : void
return void

Split() public method

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

Surrender() public method

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

WizardSimpleStrategy() public method

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