public void drawCards(int n) {
        if (n > 0) {
            for (int i = 0; i < n; ++i) {
                if (deck.isEmpty()) {
                    deck = new MixedCardPile(new ArrayList<Card>(discardPile.cards()));
                    deck.shuffle();
                    discardPile = new MixedCardPile(new ArrayList<Card>());
                }
                Card card = deck.drawOneCard();
                ArrayList<Card> newCards = new ArrayList<Card>();
                newCards.add(card);
                hand.addCards(newCards);
            }
        }
    }