Exemplo n.º 1
0
        public void gatherHands()
        {
            playerCards.Clear();
            AiCards.Clear();
            //Add card combination for the player
            playerCards.AddRange(game.getPlayer().getHand());
            playerCards.AddRange(game.getDealer().getFlop());
            playerCards.Add(game.getDealer().getTurn());
            playerCards.Add(game.getDealer().getRiver());

            //Add card combination for the AIplayer
            AiCards.AddRange(game.getAiPlayer().getHand());
            AiCards.AddRange(game.getDealer().getFlop());
            AiCards.Add(game.getDealer().getTurn());
            AiCards.Add(game.getDealer().getRiver());
        }