public override PlayerDecision MakeDecision() { var handValue = Rules.GethandValue(Hand); if (Bet > 7) { if (handValue > 16) { return(PlayerDecision.Stay); } else { return(PlayerDecision.Hit); } } else { if (handValue > 18) { return(PlayerDecision.Stay); } else { return(PlayerDecision.Hit); } } }
public override PlayerDecision MakeDecision() { if (Rules.GethandValue(Hand) >= 17) { return(PlayerDecision.Stay); } return(PlayerDecision.Hit); }
private string GetHandValue(Player player) { return(string.Format($"({Rules.GethandValue(player._Hand)})")); }