Script to practice bidding Brozel as a 1NT defence
#1
Posted 2024-April-24, 02:00
I have it set up on the bidding table to have west as the dealer and to randomly rotate the dealer by 180 degrees. My script is below. But when I run it through the dealer program west's hands are not always balanced and north sometimes does get a balanced 4333 shape.
What am I missing?
// West (opposition and dealer) has a strong 1NT opening bid.
1NT_W = shape(west, any 4333 + any 4423 + any 5332)
and hcp(west)>=15
and hcp(west)<=17
// Set the conditions for a Brozel
OC_2C = shape(north, x5x5 + x4x5 + x5x4)
OC_2D = shape(north, x55x + x45x + x54x)
OC_2H = shape(north, 55xx + 54xx + 45xx)
OC_2S = shape(north, 5x5x + 4x5x + 5x4x + 5xx5 + 4xx5 + 5xx4)
OC_2N = shape(north, xx55 + xx45 + xx54)
OC_DB = shape(north, any 6xxx + any 7xxx + any 8xxx)
brozel_OC = OC_2C or OC_2D or OC_2H or OC_2S or OC_2N or OC_DB
brozel = 1NT_W and brozel_OC
condition brozel
#2
Posted 2024-April-24, 02:42
CraigRT, on 2024-April-24, 02:00, said:
What am I missing?
Perhaps a silly question, but are you missing the meaning of the 180 degree rotation? This means West will only have the 1NT hand and North two suited half the time - it will be East and South the other half.
#3
Posted 2024-April-24, 07:18
If you change your condition line to:
condition 1NT_W and brozel_OC
then it will work as you expect. I do not understand why this is different.
#4
Posted 2024-April-24, 13:47
#6
Posted 2024-April-24, 19:39
smerriman, on 2024-April-24, 02:42, said:
I would have assumed that when the dealer is rotated then the positions all rotate too. Otherwise how would scripts such as these work?
Otherwise I would need to have some kind of logic to set up different scenarios depending on whether west or east was the dealer.
#7
Posted 2024-April-25, 01:23
CraigRT, on 2024-April-24, 19:39, said:
They do.
CraigRT, on 2024-April-24, 19:39, said:
With such scripts, constrain the dealer to one seat using the dropdown at the top of the Advanced tab of Deal Source window; in this case West.
Then it generates the hands you want with only West as dealer and North will have a Brozel hand. The randomly rotate option will then rotate some of these hands by 180 degrees, meaning that East will appear as the dealer, with the one no trump opener, and South will have the Brozel hand.
So you just need the one script and not worry about the other hands.
What you cannot do easily within the same script is for North to pass originally and then bid over an opening one no trump.
Fixing the Dealer to a known position is key to most scripts.
#8
Posted 2024-April-25, 15:42
paulg, on 2024-April-25, 01:23, said:
[...]
Fixing the Dealer to a known position is key to most scripts.
Thanks. That's how I thought they worked and how it seemed to work in my other scripts. Smerriman just made me start to doubt myself when he suggested it didn't work that way.
I have restructured my script and added to it. I'm trying to get a single script that I can use to practice "1NT stuff". It will either have opposition opening 1NT to practice Brozel, or allow us to open 1NT to practice Stayman and Jacoby. So far it seems to be working.
// Practice 1NT opning and Jacoby and Stayman ( // West (dealer) does not have an opening hand ( hcp(west) < 11 and shape(west, any xxxx - any 6xxx - any 7xxx - any 8xxx - any 9xxx) ) and // North has a 1NT opening hand ( shape(north, any 4333 + any 4432 + any 5332) and hcp(north)>=15 and hcp(north)<=17 ) and // South has the shape and points for a Jacoby or a Stayman ( shape(south, 4xxx + x4xx) and hcp(south)>7 or shape(south, 5xxx + x5xx + 6xxx + x6xx) or shape(south, xx6x + xx7x + xx8x + xxx6 + xxx7 + xxx8) and hcp(south) < 10 ) ) or // Opposition open 1NT and we use Brozel ( // West (opposition and dealer) has a strong 1NT opening bid. ( shape(west, any 4333 + any 4423 + any 5332) and hcp(west)>=15 and hcp(west)<=17 ) and // conditions for Brozel ( shape(north, x5x5 + x4x5 + x5x4) or shape(north, x55x + x45x + x54x) or shape(north, 55xx + 54xx + 45xx) or shape(north, 5x5x + 4x5x + 5x4x + 5xx5 + 4xx5 + 5xx4) or shape(north, xx55 + xx45 + xx54) or shape(north, any 6xxx + any 7xxx + any 8xxx) ) )
#9
Posted 2024-April-25, 17:02
CraigRT, on 2024-April-25, 15:42, said:
Sorry - you post was a little confusing when you said you applied the 180 degree rotation to discover that "west's hands are not always balanced" - which is what you should expect 50% of the time, leading me to wonder if that was your misunderstanding.
You probably meant to say "dealer's hands", in which case that half of the discussion was moot
(edit, oops, wrote declarer when I meant dealer)