public static int getMaxCardsSuite(ArrayList<Card> cards) {
        int[] suiteCounts = new int[Card.NUM_SUITES];
        for (Card card : cards) {
            suiteCounts[card.suite]++;
        }

        int maxSuiteIndex = 0;
        for (int i = 1; i < suiteCounts.length; i++) {
            if (suiteCounts[i] > suiteCounts[maxSuiteIndex]) {
                maxSuiteIndex = i;
            }
        }

        return maxSuiteIndex;
    }