public void declareSplitWinnings(int dealer, int player, int split) {
        int winnings = 0;
        if (playerHand.blackJack()) {
            winnings += playerHand.getBet() + (playerHand.getBet() * 3) / 2;
        } else if (player > dealer) {
            winnings += playerHand.getBet() * 2;
        } else if (player == dealer) {
            winnings += playerHand.getBet();
        }
        if (splitHand.blackJack()) {
            winnings += splitHand.getBet() + (splitHand.getBet() * 3) / 2;
        } else if (split > dealer) {
            winnings += splitHand.getBet() * 2;
        } else if (split == dealer) {
            winnings += splitHand.getBet();
        }
        if (winnings > 0) {
            payWinnings(winnings);
            ui.gameOver("YOU WON " + winnings + "€");
        } else {
            ui.gameOver("DEALER WINS");
        }
    }