* way and not directly collected to the main pot, because all-in logic
* would be to complicated. By doing the all-in logic at the end of a
* round, the code is easier to write.
*/
if (player.getBetChips().getValue() > 0) {
Chips chips = new Chips();
player.getBetChips().transferAllChipsTo(chips);
betsFromFoldedPlayers.add(chips);
}
game.removePlayerFromCurrentDeal(player);
game.getPots().removeContributor(player);