void chipsCounting()
    {

                for (Player currentPlayer : players)
                {
                        if (allInFlag == false) {
                                if (currentPlayer == victor)
                                {
                                        currentPlayer.chips += bank;
                                }
                        }
                        else  // if player went All-In
                        {
                                if (currentPlayer == victor) {
                                        if (bank < (players.size() * AllIn)) { // if there's less than players_amount * allIn-budget in the bank, player takes it all
                                                currentPlayer.chips += bank ;
                                        } // if there's more than allIn-budget * players_amount in the bank, player takes only the equivalent of his allIn from every player
                                        else
                                        {
                                                currentPlayer.chips += (players.size() * AllIn);
                                        }
                                }
                        }
                }

    }