Jump to content

Dealer program


Ant590

Recommended Posts

Hi,

 

I am trying to write a dealer program that lets the robots open pre-empts with high frequency. The issue I was having is that I can't seem to use the code

dealer(west)

, so I can't find a way to specify that the hand with the long suit is opener.

 

I can, of course, get by this by selecting the dealer to always be west, say, but then I would have to keep swapping with my partner to change who's in direct and protective positions.

 

I was trying to enter something like

 

(hcp(north) + hcp(south))>=22
and
(
(dealer(west) and (clubs(west)>=6 or diamonds(west)>=6))
or
(dealer(east) and (clubs(east)>=6 or diamonds(east)>=6))
)

Link to comment
Share on other sites

I believe that someone else has mentioned that the dealer cannot be assigned, so I suspect it is not something you are doing wrong.

 

A work around that shouldn't be too bothersome is to write your script such that either east or west has an opening preempt and skip every other deal (when north or south is the dealer).

Link to comment
Share on other sites

The problem with that is that now there is only a 50% probability of the person who is dealer getting the preempt.

 

I guess I could just hit redeal a suitable amount of times, but it would be nice if someone could think of a sneaky way to convince the BBO dealer interface to deal preempts to dealer.

Link to comment
Share on other sites

The dealer CAN be assigned. Click Deal Source->General, then set Dealer to West (or East).

 

Now if there were only a way to load dealer scripts from the hard drive.

Link to comment
Share on other sites

This question is not directly related to the Dealer program per se

but I hope some one may have an answer

 

Now we can set up partnership bidding via the web and have constraints for all

four players, it is possible to set up constrainsts for a dealer (W) whilst N & S bid the hands. I want to get W to open a Multi 2D and let NS practice their defence to this convention ( I can set up W to deal the various options in a multi)

How can I get a Robot in the West seat to open 2D when it sees a weak 2 in H or S

or some other component of a multi bid? Do we need changes in both BBO web software and GIB software to acheive this?

 

thanks in advance

 

Brian Keable

alias thebiker

Link to comment
Share on other sites

Hmm, Since EW in web version are GIB, and our GIB doesn't play multi 2D, it won't open 2D with a multi 2D hand.

 

If you are using old BBO (not web BBO), you can control opponents' bidding, so you can always open 2D as opponent. This may be your best bet.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...