public Deck() { Card card = null; // Initialize card list for (int i = 1; i < 14; i++) { // Create card card = CardFactory.Create(i); // Add 4 of each card to deck for (int j = 1; j < 5; j++) { Cards.Add(card); } } // Randomly sort cards Shuffle(); }