I am writing a poker software and trying to figure out how the raise system works.
There are a few parameters at play when raising:
Blinds: Blinds being played at Last Raise: Last raise a player made Total Pot: Total pot in the middle Min Raise: Min raise allowed to make 50% Raise: 50% raise option a player can make 100% Raise: 100% raise option a player can make
Let's give a few examples to what could these parameters be at any point in time:
Blinds: 125/250 125/250 100/200 60/120 Total Pot: 1875 1125 2100 1920 Last Raise: 500 750 600 480 Min Raise: 750 1250 1000 840 50% Raise: 1875 1875 2000 1680 100% Raise:
I collected these samples during my games, and can be inaccurate. I can see how some of the values are calculated for example:
Total Pot is
1875, that means 125 SB 250 BB 500 Raise and 1000 two calls. So
Last Raise was
500 that is 250 more so we can make minimum 250 more with a raise to
750, that is
How are the 50% and 100% raise parameters are calculated?
One possible explanation might be:
50% Raise means, 50% of the total pot more of min raise. In the above example, total pot is 1875, 50% of which is ~950, 950 more of min raise 750, which makes 1700 roughly the expected amount. What do you think?