texas-holdem-poker-ai icon indicating copy to clipboard operation
texas-holdem-poker-ai copied to clipboard

Not all players play in the pre-flop when one player raise

Open maiklez opened this issue 9 years ago • 1 comments

In the pre_flop, when a player raise, the big blind player don't need to call to go to the next round.

you have

// After a raise, every active players after the raiser must play if (bettingDecision.equals(BettingDecision.RAISE)) { toPlay = gameHand.getPlayersCount() - 1; }

I think that if you change with that // After a raise, every active players after the raiser must play if (bettingDecision.equals(BettingDecision.RAISE)) { toPlay = gameHand.getPlayersCount() ; }

everything will be ok, because you have a toPlay--; at the end.

maiklez avatar Jul 21 '15 11:07 maiklez

Not only in the pre_flop. This happens always

maiklez avatar Jul 21 '15 11:07 maiklez