blackjackanalyst.strategy
Class ModifiedBasicStrategyPlayer

java.lang.Object
  extended by blackjackanalyst.strategy.BasicStrategyPlayer
      extended by blackjackanalyst.strategy.TrueCountBetPlayer
          extended by blackjackanalyst.strategy.ModifiedBasicStrategyPlayer
All Implemented Interfaces:
PlayerStrategy

public class ModifiedBasicStrategyPlayer
extends TrueCountBetPlayer

A player that abides by the principles of TrueCountBetPlayer. Additionally, this player uses the true count (TC) to modify his basic strategy according to the chart found at http://www.blackjack-student.co.uk/guide/mbs-3.asp.

Author:
Michael Parker

Nested Class Summary
 
Nested classes/interfaces inherited from interface blackjackanalyst.PlayerStrategy
PlayerStrategy.PlayerStrategyAction
 
Constructor Summary
ModifiedBasicStrategyPlayer()
           
 
Method Summary
 PlayerStrategy.PlayerStrategyAction getAction(PlayerHand player_hand, Card dealer_card)
          Returns the proper action, given the current hand.
 
Methods inherited from class blackjackanalyst.strategy.TrueCountBetPlayer
cardDealt, getBet, getInsuranceBet, shoeShuffled
 
Methods inherited from class blackjackanalyst.strategy.BasicStrategyPlayer
joinedTable, leftTable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifiedBasicStrategyPlayer

public ModifiedBasicStrategyPlayer()
Method Detail

getAction

public PlayerStrategy.PlayerStrategyAction getAction(PlayerHand player_hand,
                                                     Card dealer_card)
Description copied from interface: PlayerStrategy
Returns the proper action, given the current hand. If this method returns null, the caller determines what action is taken.

Specified by:
getAction in interface PlayerStrategy
Overrides:
getAction in class BasicStrategyPlayer
Parameters:
player_hand - the hand of cards belonging to the player
dealer_card - the card shown by the dealer
Returns:
the proper action, which is either hit, stand, double down, or split