ctm / mb2-doc

Mb2, poker software
https://devctm.com
7 stars 2 forks source link

Double Board Bomb Pot Structure #1348

Closed ctm closed 4 months ago

ctm commented 4 months ago

Implement the WSOP EVENT #41: $1,500 MIXED NO-LIMIT HOLD’EM & POT-LIMIT OMAHA (8-HANDED) DOUBLE BOARD BOMB POT structure.

Turns out, the structure only deals a bomb pot each time the game changes. The rest are non bomb pots. We can do that with just having our vec of games have four entries, rather than two, with the first and third being bomb pots which last only one hand and the second and fourth being non-bomb pots and last seven.

However, the structure sheet itself is ambiguous, in that it's not clear whether the game is double-board when it's not bomb-pot. From their wording, my guess is it's only double board during the bomb pots, which makes sense in a live event because double board is slower when humans are evaluating the winners.

Furthermore, there's a separate button for the bomb pots. Mb2 doesn't currently support a second button, so that's an enhancement. The rest of the structure is just a chore.

Since this evening's game is double board bomb pot with rebuys but I'm the only one signed up, I'm going to see if I can gin up the easy parts of this issue "now" and then replace what's currently there with the new one.

ctm commented 4 months ago

Turns out, GameTransition::New only holds a single u16 count for all the games in the Vec<GameInfo>, so there's no way to say play the first and third only once and the second and fourth seven times. However, GameKeeper already uses NGamesWithStakes which is just a type alias for (u16, GameInfo, Stakes), so should just be a matter of adding a new variant to GameTransition that takes a <Vec(u16, GameInfo)> and using that to populate NGamesWithStakes.

ctm commented 4 months ago

So, between the "easy parts" being a little more complicated than I expected and the switch to Daylight Saving Time the day after a caffeinated event, I did not get the beginning of the new structure in place yesterday, but I did finish up the easy work and deploy "just now".

I believe what I deployed has all the features we're going to support for WSOPS-Style 2024, except it currently only uses a single button. So, I'm keeping this issue open and have explicitly created a new one to support the alternate button (#1349).

ctm commented 4 months ago

Done. Deploying now.