Example #1
0
        public void FindMostValuableWayToParseWinningHand()
        {
            if (BestWayToParseHand != null)
            {
                return;
            }

            var allWaysToParseWinningHand = FindAllWaysToParseWinningHand();

            if (allWaysToParseWinningHand.Count == 0)
            {
                if (BonusSets.Count > 6)
                {
                    BestWayToParseHand = CalledSets.Concat(BonusSets).ToList();
                }
                return;
            }

            CheckAndUpdateBestWayToParseWinningHand(allWaysToParseWinningHand);
        }