Ejemplo n.º 1
0
ActionList CorrectPlayer::GetActions(Hand hand, int dealer, Shoe& shoe, int betSize, bool allBusted, int numBusted)
{
	this->allBusted = allBusted;
	this->numBusted = numBusted;

	ActionList actions;
	actions.Add(Action(ActionType::Stand, Stand(hand, dealer, shoe)));
	actions.Add(Action(ActionType::Hit, Hit(hand, dealer, shoe)));
	actions.Add(Action(ActionType::Double, Double(hand, dealer, shoe, betSize)));
	actions.Add(Action(ActionType::Surrender, SurrenderEV()));

	return actions;
}