public bool IsSatisfied(HandCards handCards) { var isSameColor = handCards.Cards.All(x => x.CardColor.Equals(handCards.Cards.First().CardColor)); var isStraight = StraightCardExtension.IsStraight(handCards.Cards); return(isSameColor && isStraight); }
public bool IsSatisfied(HandCards handCards) { return(StraightCardExtension.IsStraight(handCards.Cards)); }