Example #1
0
        public void Flop(Card firstCard, Card secondCard, Card thirdCard)
        {
            if (Board.BoardState != BoardStateType.Preflop)
            {
                throw new Exception("The board is not in PreFlop!");
            }

            Deck.GiveCard();
            Board.FirstCard  = Deck.GiveSpecificCard(firstCard);
            Board.SecondCard = Deck.GiveSpecificCard(secondCard);
            Board.ThirdCard  = Deck.GiveSpecificCard(thirdCard);
            Board.SetBoardState();
        }