OK so let's say I'm trying to practice my system over the opps' 1NT. I want E or W to be dealer at the bidding table, which is easy to accomplish by checking the box for dealers. But now I want dealer to have a 1NT opener.
It seems like I want to use the selection operator '?' that DEALER recognizes. Here is an example from the webpage on some sample code using this operator:
minornorth = clubs(north) > diamonds(north) ? hcp(north,clubs) : hcp(north,diamonds)
corresponds to C language
if (clubs(north) > diamonds(north) )
minornorth = hcp(north, clubs);
else
minornorth = hcp(north, diamonds);
I want the dealer to have a 1N opener so it seems like I might want to use the language:
dealer(west)?(hcp(west)>14&&hcp(west)<18&&shape(west, any 4333 + any 4432 + any 5332 + 2245 + 2254 + any 6322 - 6xxx - x6xx)):(hcp(east)>14&&hcp(east)<18&&shape(east, any 4333 + any 4432 + any 5332 + 2245 + 2254 + any 6322 - 6xxx - x6xx))
with both E and W boxes checked in dealer template to make either one dealer. I feel like the problem with this code resides in "dealer(west)?" but I can't say I'm certain.
Any suggestions?
Page 1 of 1
Dealer Language Part 2
#2
Posted 2009-March-12, 14:00
I don't think dealer does this.
The dealer(north) command simply sets the dealer to north. I can't see anything in the documentation where you can alternate the dealer.
The dealer(north) command simply sets the dealer to north. I can't see anything in the documentation where you can alternate the dealer.
Wayne Burrows
I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon
I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon
#3
Posted 2009-March-12, 21:02
A workaround might be to give either east or west a 1NT opener.
Half the time the dealer and the 1NT opener will be the same. A portion of the rest of the time, it will go P-P-1N. The others you can skip.
Half the time the dealer and the 1NT opener will be the same. A portion of the rest of the time, it will go P-P-1N. The others you can skip.
Page 1 of 1

Help
