Teaching Sessions & Practices on BBO > Dealer Scripts
Slam and Game Script for BBO
(1/1)
RogerPfi:
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
Navigation
[0] Message Index
Go to full version