public WarPlayer() { // Create a new pile of cards, but keep it empty. cardPile = new DeckOfCards(false); }