C# Class Blackjack.Players.CountingSystemBasicStrategyPlayer

A player which does some simple card counting and modifies basic strategy slightly depending on the count.
Inheritance: BasicStrategyPlayer
Show file Open project: tansey/blackjack

Public Methods

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

Method Details

BuyInsurance() public method

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

CountingSystemBasicStrategyPlayer() public method

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

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

Reshuffle() public method

public Reshuffle ( ) : void
return void