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