|
Blackjack Decision Maker
|
Class implementing the optimum Blackjack strategy. More...
#include <StrategyEngine.h>
Public Member Functions | |
| StrategyEngine () | |
| Construct a new Strategy Engine:: Strategy Engine object. More... | |
| decisions | getchoice (int dealercard, std::vector< int > playercards) |
| Method to implement the Blackjack optimum strategy and compute the next optimum play. More... | |
| void | nextCallback (AcePlaysUtils &callbackData) |
| Implement the nextCallback virtual method to pass information down the pipeline. More... | |
Class implementing the optimum Blackjack strategy.
| StrategyEngine::StrategyEngine | ( | ) |
Construct a new Strategy Engine:: Strategy Engine object.
| decisions StrategyEngine::getchoice | ( | int | dealercard, |
| std::vector< int > | playercards | ||
| ) |
Method to implement the Blackjack optimum strategy and compute the next optimum play.
| dealercard | the dealer's card as an integer |
| playercards | vector of the player's hand as integers |
|
virtual |
Implement the nextCallback virtual method to pass information down the pipeline.
| callbackData | an AcePlaysUtils callback object |
Implements CallbackLinker.