Example #1
0
        private bool ThreeOAKToFullHouseOr4OAK(List <Card> street, List <Card> cardHand)
        { // Outs 7
            WinConditions wc   = new WinConditions();
            List <Card>   temp = new List <Card> {
                cardHand[0], cardHand[1]
            };

            foreach (Card card in street)
            {
                temp.Add(card);
            }
            temp.Sort();
            if (wc.HasThreeOfAKind(temp))
            {
                return(true);
            }
            return(false);
        }