public String toString(int itemsPerLine) {
        StringBuilder handString = new StringBuilder();
        int itemsPrinted = 1;
        for (Card c : playerHand) {
            handString.append(c.toString());
            if ((playerHand.indexOf(c) < playerHand.size() - 1)) {
                handString.append(", ");
            }
            if (itemsPrinted % itemsPerLine == 0) {
                handString.append("\n");
            }
            itemsPrinted++;
        }
        handString.append("\n");
        return handString.toString();
    }