public void turnOnePlayer() {
        GameEngine gEngine = new GameEngine();
        if (activeP >= GameEngine.playerCount) {
            int[] results = new int[GameEngine.playerCount];
            int winSum = 0;
            for (int i = 0; i < winners.size(); i++) {
                winSum = winSum + GameEngine.Players.get(winners.get(i)).getLastReward();
            }
            int losersLose;
            if(losers.size() > 0) {losersLose = winSum/losers.size();}
            else {losersLose = 0;};
            for (int i = 0; i < losers.size(); i++) {
                GameEngine.Players.get(losers.get(i)).changeBank(-1 * losersLose);
            }

            String message = "Players " + Arrays.toString(gEngine.Players.get(0).listToArray(winners)) + " took " + (losersLose) + " each from " + Arrays.toString(gEngine.Players.get(0).listToArray(losers));
            message = message + "\n";
            // 1. and 2.: Dice face values, 3.and 4. Guesses, 5. Amount we have bet, 6. is reward.
            message = message + "The right values is " + turnData.get(0)[0] + " and " + turnData.get(0)[1] + "\n";
            for (int i = 0; i < turnData.size(); i++) {
                message = message + "Player " + (i+1) + " guessed " + turnData.get(i)[2] + " and " + turnData.get(i)[3] + " and bet " + turnData.get(i)[4] + " and won/lost " + (turnData.get(i)[5]-turnData.get(i)[4]) + "\n\n";
            }
            JOptionPane.showMessageDialog(null,  message, "End of turn results", JOptionPane.INFORMATION_MESSAGE);
            winners.clear();
            losers.clear();
            int[] playersAlive = GameEngine.playersAlive();
            if (playersAlive[0] > 1) {
                activeP = 0;
                newTurn();
            } else if(playersAlive[0] == 1) {
                GameEngine.theEnd(playersAlive[1]);
            }
        }


        System.out.println("settings player to " + activeP);
        gEngine.activePlayer = gEngine.Players.get(activeP);
        Player player = gEngine.activePlayer;


        GameMain.userInterface.returnPlayer();
        GameMain.userInterface.setMyBet(thrown);
        System.out.println("Player " + (player.getI()+1) + " is playing!");
    }