public class StochasticTable extends AbstractStrategy
CONSTANT_CAREFUL, CONSTANT_RISKY, CONSTANT_VERY_CAREFUL, CONSTANT_VERY_RISKY, HUMAN_PLAYER, name, STOCHASTIC_TABLE, strategies| Constructor and Description |
|---|
StochasticTable(java.lang.String name)
Create a new strategy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
drawCard(Card[] playercards,
Card dealercard)
Decide if to draw another card.
|
int |
makeBet(int account)
Calculate how much to bet, given the account value.
|
equals, getName, getStrategies, getStrategy, getStrategyNames, hashCode, toStringpublic StochasticTable(java.lang.String name)
name - The name.public int makeBet(int account)
makeBet in interface IStrategymakeBet in class AbstractStrategyaccount -