Exemplo n.º 1
0
        void AddCardToEveryBox(Player player)
        {
            int boxesCount = player.BoxesCount;

            Card[] cards = new Card[boxesCount];

            for (int i = 0; i < boxesCount; ++i)
            {
                cards[i] = PopCardFromShoe();
            }

            player.AddCardToEveryBox(cards);
        }