Beispiel #1
0
 public bool IsThisCondition(List <PokerCard> cards)
 {
     return(HandCardsMaxSameCountHelper.GetHandCardsMaxSameCount(cards).Equals(4));
 }
 public bool IsThisCondition(List <PokerCard> cards)
 {
     return(!new StraightConditionChecker().IsThisCondition(cards) &&
            !new SameColorConditionChecker().IsThisCondition(cards) &&
            HandCardsMaxSameCountHelper.GetHandCardsMaxSameCount(cards).Equals(1));
 }