public Suit changeSuit() {
        int suitClubs = 0;
        int suitDiamonds = 0;
        int suitHearts = 0;
        int suitSpade = 0;

        for (int i = 0; i < hand.cardlistSize(); i++) {
            if (hand.getList().get(i).getSuit().equals(Suit.CLUBS)) {
                suitClubs++;
            } else if (hand.getList().get(i).getSuit().equals(Suit.DIAMONDS)) {
                suitDiamonds++;
            } else if (hand.getList().get(i).getSuit().equals(Suit.HEARTS)) {
                suitHearts++;
            } else if (hand.getList().get(i).getSuit().equals(Suit.SPADES)) {
                suitSpade++;
            }
        }

        int maxSuit = Math.max(suitClubs, Math.max(suitDiamonds, Math.max(suitHearts, suitSpade)));

        if (maxSuit == suitClubs) {
            return Suit.CLUBS;
        } else if (maxSuit == suitDiamonds) {
            return Suit.DIAMONDS;
        } else if (maxSuit == suitHearts) {
            return Suit.HEARTS;
        } else {
            return Suit.SPADES;
        }
    }