BBO Discussion Forums: Dealer program - BBO Discussion Forums

Jump to content

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

Dealer program

#1 User is offline   Ant590 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 749
  • Joined: 2005-July-17
  • Gender:Male
  • Location:Melbourne, Australia

Posted 2009-April-03, 08:13

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))
)

0

#2 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2009-April-03, 08:25

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).
0

#3 User is offline   Ant590 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 749
  • Joined: 2005-July-17
  • Gender:Male
  • Location:Melbourne, Australia

Posted 2009-April-03, 17:06

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.
0

#4 User is offline   eyhung 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 345
  • Joined: 2003-February-13
  • Location:San Jose, CA
  • Interests:bridge, poker, literature, boardgames, computers, classical music, baseball, history

Posted 2009-April-04, 01:58

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.
Eugene Hung
0

#5 User is offline   thebiker 

  • PipPipPip
  • Group: Full Members
  • Posts: 95
  • Joined: 2006-November-02
  • Gender:Male
  • Location:Bedfordshire, England

Posted 2009-April-06, 10:25

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
0

#6 User is offline   Rain 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,592
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Singapore

Posted 2009-April-08, 13:24

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.
"More and more these days I find myself pondering how to reconcile my net income with my gross habits."

John Nelson.
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