Exemple #1
0
        static void Main(string[] args)
        {
            // initialize the deck of cards
            Deck d = new Deck();

            // Runs isEmpty
            Console.WriteLine(d.IsEmpty());
            // Runs shuffle method
            d.Shuffle();

            // Runs the deal method 52 times.
            for (int i = 0; i < 52; i++)
            {
                d.Deal();
            }
        }