SHARE
TWEET

Untitled

a guest Jan 26th, 2013 24 Never
  1. void HandBuilder :: SetBlindsInHand( TableScrapeState &sState, Hand &hand )
  2. {
  3.         hand.moveToNextPlayer();
  4.         int countBlinds = 0;
  5.         while( hand.getCurPlayerSeat() != hand.GetDealerPos() && countBlinds != 2 )
  6.         {
  7.                 if ( sState.getBet( hand.getCurPlayerSeat() ) == 0 )
  8.                 {
  9.                         hand.getPlayer( hand.getCurPlayerSeat() ).SetState(Player::SeatState::Sitout);
  10.                        
  11.                 }
  12.                 else
  13.                         countBlinds++;
  14.                 hand.moveToNextPlayer();
  15.         }
  16.         hand.SetDealerPos( sState.getDealerPos() );
  17.         hand.PostSB();
  18.         hand.PostBB();
  19. }
RAW Paste Data
Top