BBO Discussion Forums: Partnership Bidding Hand Generator code - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Partnership Bidding Hand Generator code

#1 User is offline   dmsJack 

  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 2010-June-01

Posted 2013-April-04, 09:31

Right now, my partner and I would like to practice a particular type of hand (for example): one where opener has at least 4 clubs and a minimum amount of high cards. And we'd like to have the hands which contain 4 clubs, 5 clubs, 6 clubs, and 7-or-more clubs be equally likely to be generated. This is impossible using the current hand generator. Where you currently have only a checkbox to "use" a given configuration (out of 5(?) total), it would be so much better if a person could specify a numeric value for each configuration, all totalling 100, that specifies what percentage of the time each of the specified configurations would be generated. For us, we'd create 4 configurations, one each for 4 clubs, 5 clubs, 6 clubs, and 7-or-more clubs, giving each a chance of occurring of 25% so they'd all be equally likely.

As the software is now, if you specify multiple configurations, and if any of them are WAY more likely to be naturally dealt than some unlikely configuration, you might as well not even enter the unlikely configuration, cuz nearly all of the time, one of the more common ones will be dealt first and will match, and be "delivered".

The deal generator would be so much more useful if it had a feature like this.
0

#2 User is offline   FM75 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 496
  • Joined: 2009-December-12

Posted 2013-April-05, 13:54

If you want to do it badly enough, just use the online hand generator and tell it to "produce" the same number of each type.

Then cut and paste the output into a file and write a script or spreadsheet function to convert it into a lin file. You can randomly shuffle the deals if you want.

Upload it to BBO and you are done. You will need to control the dealer
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users