Support Forum
I need help with the dealer input script to the deal source option for the practice area. My partner and I are practicing using Bergen raises so I created the following script.
(((spades(north)>=5) && (spades(south)>=4)) || ((hearts(north)>=5) && (hearts(south)>=4))) && (hcp(north)>12) || (((spades(south)>=5) && (spades(south)>=4)) || ((hearts(south)>=5) && (hearts(south)>=4))) && (hcp(south)>12) && (hcp(east)<10) && (hcp(west)<10)
This script should ensure we have a 9 card major fit with one side having sufficient high card points to open. I added that both east and west have less than 10 high card points to limit their bidding.
When I setup a bidding table by myself the script seems to work. However when my partner joins me the first few hand meet these constraints but then we get hands that do not match these criteria. What am I doing wrong.
Bruce Dautrich
Page 1 of 1
Need help with dealer input Dealer Input
#2
Posted 2019-September-14, 17:52
Give the following a try
hcp(east) < 10 &&
hcp(west) <10
&&
(
(
(
(spades(north) >= 5 && spades(south) >= 4) ||
(hearts(north) >= 5 && hearts(south) >= 4)
)
&& hcp(north) >= 12
)
||
(
(
(spades(south) >= 5 && spades(north) >= 4) ||
(hearts(south) >= 5 && hearts(north) >= 4)
)
&& hcp(south) >= 12
)
)
hcp(east) < 10 &&
hcp(west) <10
&&
(
(
(
(spades(north) >= 5 && spades(south) >= 4) ||
(hearts(north) >= 5 && hearts(south) >= 4)
)
&& hcp(north) >= 12
)
||
(
(
(spades(south) >= 5 && spades(north) >= 4) ||
(hearts(south) >= 5 && hearts(north) >= 4)
)
&& hcp(south) >= 12
)
)
Alderaan delenda est
#3
Posted 2019-September-14, 21:34
# # BERGEN PRACTICE Bruce Dautrich 15 Sep 2019 # Uses Dealer by Hans van Staveren # http://www.bridgebase.com/tools/dealer/dealer.php # NBergen = hcp (north) > 12 and ((spades (north) > 4 and spades (south) > 3) or (hearts (north) > 4 and hearts (south) > 3)) SBergen = hcp (south) > 12 and ((spades (south) > 4 and spades (north) > 3) or (hearts (south) > 4 and hearts (north) > 3)) EWsilent = hcp (west) < 10 and hcp (east) < 10 produce 5 condition EWsilent and (NBergen or SBergen) action printoneline
produced
n AQJ8.QT432.75.J5 e 972.85.KQ6.A8642 s 6.AKJ97.AJ98.KQ9 w KT543.6.T432.T73 n AJ9632.AKT92..96 e T4.Q7.T9765.A874 s KQ875.6.AQ432.K3 w .J8543.KJ8.QJT52 n A2.AKT98.T863.Q8 e KQ95.7642.J2.K97 s 84.QJ53.K75.AT64 w JT763..AQ94.J532 n AJ53.J983.K763.8 e 864.T62.QT.AJ653 s KQT97.AQ54.AJ8.7 w 2.K7.9542.KQT942 n K82.AKJ72.A83.KT e A954.5.T974.9876 s QT6.QT96.2.AJ432 w J73.843.KQJ65.Q5 Generated 572 hands Produced 5 hands Initial random seed 1568518090 Time needed 0.001 sec
Page 1 of 1