ctm / mb2-doc

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

Players paying a blind can be moved when splitting tables #1312

Closed ctm closed 5 months ago

ctm commented 5 months ago

Fix it so that some players are ineligible to be moved when splitting tables, even when folded.

Oh, as a side note when splitting tables, I noticed mb2 sometimes takes the BB if they've folded and moved them to a new table. Most sites I play on make sure to keep the blinds at the table they're at and only move those UTG to button, most real life tourneys work this way too.

ctm commented 5 months ago

There is separate code for a one player move for rebalancing and the code for table splitting. I should examine both.

My recollection is that for rebalancing we do it at the end of hand and won't take a blind. Additionally, nobody has pointed out a problem with the rebalance motion, but I should still double-check it.

For table splitting, it's just a matter of adding constraints to Table::movable (which perhaps should be renamed movables, since it is not a predicate and returns a Vec<SeatIndex>. AFAIK, all we have to do is exclude any SeatIndex that occurs in either blind_seats or solo_ante.

ctm commented 5 months ago

Deploying now.