Example #1
0
        public Dealer()
        {
            cards      = deck.MakeDeck();
            mixedCards = new List <Card>();

            while (cards.Count > 0)
            {
                Random rnd = new Random();
                int    r   = rnd.Next(0, cards.Count);
                mixedCards.Add(cards.ElementAt(r));
                cards.RemoveAt(r);
            }
        }