예제 #1
0
 protected override IEnumerable <IEnumerable <int> > GetRankChoices()
 {
     return(AllRanks.Combinations(5));
 }
예제 #2
0
 protected override IEnumerable <IEnumerable <int> > GetRankChoices()
 {
     return(AllRanks.Combinations(1).SelectMany(pairedRank => AllRanks.Except(pairedRank).Combinations(3).Select(pairedRank.Concat)));
 }
예제 #3
0
 protected override IEnumerable <IEnumerable <int> > GetRankChoices()
 {
     return(AllRanks.Combinations(2).SelectMany(pairedRanks => AllRanks.Except(pairedRanks).Select(kicker => pairedRanks.Concat(new[] { kicker }))));
 }