fixed fullhouse counting as TwoPair - thx gucci
This commit is contained in:
1 parent
d203f6032a
commit
8bf7961aef
1 file changed
+1
-1
@@ -158,7 +158,7 @@ public class Cards
|
||||
|
||||
Func<List<Card>, bool> isTwoPair =
|
||||
cards => cards.GroupBy(card => card.number)
|
||||
.Count(group => group.Count() >= 2) == 2;
|
||||
.Count(group => group.Count() == 2) == 2;
|
||||
|
||||
Func<List<Card>, bool> isStraight =
|
||||
cards => cards.GroupBy(card => card.number)
|
||||
|
||||
Reference in new issue
Block a user