Jump to content

xbootnek

Members
  • Posts

    6
  • Joined

  • Last visited

Previous Fields

  • Preferred Systems
    2/1

xbootnek's Achievements

(1/13)

0

Reputation

  1. Thanks Walter, That works for me too. The ternary operator too.
  2. Thanks Uday. The code you gave was: produce 5 condition spades(north) >= 5 && clubs(north) >=5 action printoneline In the BBO environment only this line is needed: spades(north) >= 5 && clubs(north) >=5 The curly bracket stuff came from a Dealer pre-processor I found. My mild beef continues to be that I can't tell where BBO differs from Hans' spec. He allows variables e.g. BALANCEDHAND = shape(north, any 4333) and conditional logic in the ternary operator to use those variables. BBO apparently does not allow variables nor logic.
  3. Thanks Uday, However, BBO appears to only use a subset of the Dealer functionality. The pre-processor commands generate a BBO error. Try pasting: shape{north, 5+xx5+} I guess the message I am getting from you and from BBO Tech Support is that there is no concise guide to the Dealer syntax for Dealer Source on BBO. Given that I will have to build the scripts I want by testing by trial and error from the best available Dealer doc which so far appears to be: http://svn.df7cb.de/debian/dealer/branches...nual/dealer.txt
  4. If I start a Bidding table, and selected Dealer Source/Advanced, I can paste code into the Dealer Source text box. If I check the box "Use this code...", the Redeal will then deal hands to that specification. This code: shape(north, any 4333 + any 4423) and hcp(north)>=15 and hcp(north) <= 17 and (hcp(south) >= 8 and hcp(south) <= 18) will generate a series of hands where North has a 1NT opener, and South has varied hands that have between 11 and 18 HCP. Googling on the web, I see that this is a subset of the input for Hans van Staveren's Dealer program which is described at http://www.andrew.cmu.edu/user/gc00/biddin...ler/dealer.html My objective here is to generate a series of hands for practice on BBO. I'm getting there slowly by trial and error. The code above generates a 1NT opening bid. I would like to develop similar code for all the 2 over 1 openings and responses so I can teach a new partner who has never played bridge and practice with them I imagine this as a long text document containing all the opening bids and responses, from which one could cut a particular lesson and paste it into the Dealer Source box. My questions are whether BBO or anyone else has developed code for the Dealer Source box to do that; and whether BBO has any documentation for using the Dealer Source box to help in that objective. Or do I have to do this by more trial and error?
  5. Thank you Karl. What I was asking was whether there were pre-dealt deals available that I did not have to create. Deals that I could load from file that would suit a particular learning topic for partner and I to practice. E.g. I want ten or so deals on the topic of raising partner's major opening. Or opening and responding to weak 2 bids. And so on.
  6. Are any pre-dealt hands available for partnership training and practice?
×
×
  • Create New...