private void SetStatus(HandStatusTypes status) { if (BustHand()) { Status = HandStatusTypes.Bust; } else if (cards.Count() == maxCardCount || PointValue == BlackJackConstants.BlackJack) { Status = HandStatusTypes.BlackJack; } else { Status = status; } }
private void SetStatus(HandStatusTypes status) => Status = BustHand() ? HandStatusTypes.Bust : status;