ctm / mb2-doc

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

Simplify the Double Board Omaha implementation and output #1277

Closed ctm closed 6 months ago

ctm commented 6 months ago

Make it so that the Double Board option to Omaha uses the original split-pot pot splitter for awarding pots.

I added a pot splitter on top of the pot splitter with the idea that by doing so I could make double-board be an option for all Omaha games, but at the time I designed it in my head, I didn't realize that in Double Board PLO/8, there are still only two winners, not four. I.e. In DBPLO/8, the best high that can be made from either board wins half and the best low that can be made from either board wins half.

I'm going to leave the new code in place, but I'm not actually going to use it. Instead, this issue will make it so any non-split Omaha variant that is dealt double board becomes a split pot game with one pot being the top board and the other pot being the bottom board, but any split-pot variant remains a split-pot with the best from both boards used. In this scenario, for example, Double Board Dramaha 49 would award half the pot to whoever can make the best Omaha hand using either of the boards and the other half of the pot to the person with the highest number of points. Using the higher level splitter, the best Omaha hand from the top board would get a quarter, the best Omaha hand from the bottom board would get a quarter and the highest number of points would get two quarters (i.e., half) of the pot.

ctm commented 6 months ago

Done. Deploying now.