BBO Discussion Forums: Question on BBO dealer syntax - BBO Discussion Forums

Jump to content

Page 1 of 1

Question on BBO dealer syntax

#1 User is offline   Chick 

  • PipPip
  • Group: Members
  • Posts: 22
  • Joined: 2011-April-06
  • Gender:Female
  • Location:Michigan, USA (Eastern Time)
  • Interests:Bridge and Bridge Teaching

Posted Yesterday, 13:36

I've read thru all the documentation I can find for BBO dealer syntax, and I'm confused about something.

I simply want to generate one hand at a time on BBO bidding or practice table, using Deal Source with syntax code. Is there a way for me to force a particular bid from an opponent hand from within the syntax code?

For example, if I want my student to practice Negative Doubles, can I generate a 1minor opening, then have the opponent overcall 1S. Is that possible?

If this is covered somewhere in documentation, could you kindly refer me to the right spot?
0

#2 User is online   smerriman 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,620
  • Joined: 2014-March-15
  • Gender:Male

Posted Yesterday, 13:47

Not directly; you'd need to manually specify the conditions that would result in the right bids (and then place a robot in that seat, or sit there yourself).

However, you'll likely find this tool has already done everything for you.
0

#3 User is offline   pescetom 

  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 8,706
  • Joined: 2014-February-18
  • Gender:Male
  • Location:Italy

Posted Yesterday, 14:41

There is a specific forum for discussion of Dealer syntax, not sure if you read it all but in any case this thread belongs there: maybe some kind moderator can move it.

Yes you can (if you have programming skills) generate a 1 minor opening, then have the opponent overcall 1S.
I gave up on Dealer when BBO decided for no good reason to suppress the vital tricks function, but if you post there and nobody can help I will scratch my memory.
0

#4 User is online   DavidKok 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,961
  • Joined: 2020-March-30
  • Gender:Male
  • Location:Netherlands

Posted Yesterday, 15:42

I've been programming in dealer quite a bit. If that forum isn't sufficiently clear I'm happy to help, though right this moment my time is limited.
0

#5 User is online   paulg 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,156
  • Joined: 2003-April-26
  • Gender:Male
  • Location:Scottish Borders

Posted Today, 02:06

This is the script I've used in the past.

# Set dealer to North using BBO commands and use 180 switch
#
# define constraints for North
#
# North should have one club or one diamond opener but not a strong 1NT
#
north1m = hcp(north)>12 and hcp(north)<18 and 
        shape(north, any 4333 + xx45 + x4x5 + 4xx5 + xxx6 + xx54 + x45x + 4x5x + xx6x)

north1nt = hcp(north)>14 and hcp(north)<18 and shape(north, any 4333 + any 4432 + any 5332)

#
# define constraints for East
#
# East should overcall one spade
#

east1s = hcp(east)>10 and shape(east, 6xxx + 54xx + 5x4x + 5xx4 + 5332 + 5323 + 5332) and hcp(east,spades)>5

#
# define constraints for South
#
# South should have a negative double
#

southdbl = hcp(south)>6 and hearts(south)>3 and hcp(south)<10

(north1m and not north1nt) and southdbl and east1s



The Beer Card

I don't work for BBO and any advice is based on my BBO experience over the decades
0

Page 1 of 1


Fast Reply

  

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

  1. sfi