Blackjack.BlackjackGame.DealerMustHit C# (CSharp) Method

DealerMustHit() public method

public DealerMustHit ( DealerHand hand ) : bool
hand DealerHand
return bool
        public bool DealerMustHit(DealerHand hand)
        {
            if(hand.Soft)
                return hand.Value < Settings.DealerSoftStandThreshold;

            return hand.Value < Settings.DealerHardStandThreshold;
        }