therewillbecode / poker-maison

🂺 A Multiplayer Poker App Crafted with Haskell and React
308 stars 34 forks source link

Player's Max Bet Should Be Limited #8

Open therewillbecode opened 4 years ago

therewillbecode commented 4 years ago

Limit a player's max bet according to either their chip count or the next largest player in the hand's chipcount. Which ever is smaller.

This would prevent the current bug where a player can raise more than an opponents chip stack in a 1v1.