public virtual void makeDeck() { deck = new PileOfCards(); for (int i = 0; i < 13; i++) { deck.addCard(new Card(i, 0)); deck.addCard(new Card(i, 1)); deck.addCard(new Card(i, 2)); deck.addCard(new Card(i, 3)); } Console.Out.WriteLine(deck.toString()); deck.shuffle(); }
public WarGame() { human = new Player(); computer = new Player(); cardsBeingBattled = new PileOfCards(); }
public Game() { deck = new PileOfCards(); }