|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PlayerStrategy | |
|---|---|
| blackjackanalyst | |
| blackjackanalyst.strategy | |
| Uses of PlayerStrategy in blackjackanalyst |
|---|
| Methods in blackjackanalyst that return PlayerStrategy | |
|---|---|
PlayerStrategy |
Player.getStrategy()
Returns the strategy used by the player. |
PlayerStrategy |
Player.setStrategy(PlayerStrategy new_strategy)
Sets the strategy of the player to new_strategy. |
| Methods in blackjackanalyst with parameters of type PlayerStrategy | |
|---|---|
PlayerStrategy |
Player.setStrategy(PlayerStrategy new_strategy)
Sets the strategy of the player to new_strategy. |
| Constructors in blackjackanalyst with parameters of type PlayerStrategy | |
|---|---|
Player(PlayerStrategy _bj_strategy)
Creates an unnamed blackjack player with the given strategy and the default bankroll of 500. |
|
Player(PlayerStrategy _bj_strategy,
int _bankroll)
Creates an unnamed blackjack player with the given strategy and bankroll. |
|
Player(PlayerStrategy _bj_strategy,
int _bankroll,
java.lang.String player_name)
Creates a named blackjack player with the given strategy and bankroll. |
|
Player(PlayerStrategy _bj_strategy,
java.lang.String player_name)
Creates a named blackjack player with the given strategy and the default bankroll of 500. |
|
| Uses of PlayerStrategy in blackjackanalyst.strategy |
|---|
| Classes in blackjackanalyst.strategy that implement PlayerStrategy | |
|---|---|
class |
BasicStrategyPlayer
A player that uses basic strategy correctly, provided the following table options: Eight decks Dealer hits soft 17 Double any 2 cards Double after split The strategies used are based on the chart found at http://wizardofodds.com/blackjack. |
class |
DefaultPlayer
The default player strategy which immitates the dealer by hitting on any value below 16 or soft 17. |
class |
ModifiedBasicStrategyPlayer
A player that abides by the principles of TrueCountBetPlayer. |
class |
TrueCountBetPlayer
A player that abides by the principles of BasicStrategyPlayer. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||