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