Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void HandBuilder :: SetBlindsInHand( TableScrapeState &sState, Hand &hand )
- {
- hand.moveToNextPlayer();
- int countBlinds = 0;
- while( hand.getCurPlayerSeat() != hand.GetDealerPos() && countBlinds != 2 )
- {
- if ( sState.getBet( hand.getCurPlayerSeat() ) == 0 )
- {
- hand.getPlayer( hand.getCurPlayerSeat() ).SetState(Player::SeatState::Sitout);
- }
- else
- countBlinds++;
- hand.moveToNextPlayer();
- }
- hand.SetDealerPos( sState.getDealerPos() );
- hand.PostSB();
- hand.PostBB();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement