Author Topic: Slam and Game Script for BBO  (Read 4037 times)

0 Members and 1 Guest are viewing this topic.

Offline RogerPfi

  • Piggy
  • ***
  • Posts: 110
  • Karma: +14/-0
    • View Profile
Slam and Game Script for BBO
« on: December 22, 2016, 11:25:12 PM »
What follows is a copy of a post I made to the Cafe


Slam and Game Script for BBO

Principally for those new to BBO.  This simple script will generate marginal game hands possible slam hands and possible Grand Slam hands.

You can download a .doc with the script and clear instructions as to how to use it on BBO.

   http://rogerpf.com/public/aab/Slam_and_game_script_for_BBO.doc

OR   you can just copy and paste the script from below.

(The .doc contains more info and other variations on the script.)

# ===================================================

r1 =  hascard(west,2C)
r2 =  hascard(east,3D)
h  =  hcp(north) + hcp(south)
c  =  16 <= hcp(north) || 16 <= hcp(south)
Hi =  c && (31 <= h) && (h <= 32)
Me =  c && (29 == h) && (r1 || r2)
Lo =  c && (25 == h) && (r1)
condition   Hi || Me || Lo

# ===================================================

--
Roger