BBO Discussion Forums: Script to practice bidding Brozel as a 1NT defence - BBO Discussion Forums

Jump to content

Page 1 of 1

Script to practice bidding Brozel as a 1NT defence

#1 User is offline   CraigRT 

  • PipPip
  • Group: Members
  • Posts: 13
  • Joined: 2022-February-06
  • Gender:Male
  • Location:Australia

Posted 2024-April-24, 02:00

I am trying to set up a script to practice my bidding using Brozel to interfere with a strong 1NT opening by the opposition.

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
0

#2 User is offline   smerriman 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,042
  • Joined: 2014-March-15
  • Gender:Male

Posted 2024-April-24, 02:42

 CraigRT, on 2024-April-24, 02:00, said:

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?

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.
0

#3 User is offline   paulg 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,083
  • Joined: 2003-April-26
  • Gender:Male
  • Location:Scottish Borders

Posted 2024-April-24, 07:18

I have no idea what is wrong with the script but I see the same behaviour.

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.
The Beer Card

I don't work for BBO and any advice is based on my BBO experience over the decades
0

#4 User is offline   smerriman 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,042
  • Joined: 2014-March-15
  • Gender:Male

Posted 2024-April-24, 13:47

Weird, I'm sure it was working for me yesterday, though now I see the same error. I believe it's due to using an identifier that starts with a number - change 1NT_W to oneNT_W and it will work too.
0

#5 User is offline   pescetom 

  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,920
  • Joined: 2014-February-18
  • Gender:Male
  • Location:Italy

Posted 2024-April-24, 14:09

Oops, I already knew this limitation but failed to recognize it here :(
0

#6 User is offline   CraigRT 

  • PipPip
  • Group: Members
  • Posts: 13
  • Joined: 2022-February-06
  • Gender:Male
  • Location:Australia

Posted 2024-April-24, 19:39

 smerriman, on 2024-April-24, 02:42, said:

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.


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.
0

#7 User is offline   paulg 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,083
  • Joined: 2003-April-26
  • Gender:Male
  • Location:Scottish Borders

Posted 2024-April-25, 01:23

 CraigRT, on 2024-April-24, 19:39, 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?

They do.

 CraigRT, on 2024-April-24, 19:39, said:

Otherwise I would need to have some kind of logic to set up different scenarios depending on whether west or east was the dealer.

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.
The Beer Card

I don't work for BBO and any advice is based on my BBO experience over the decades
0

#8 User is offline   CraigRT 

  • PipPip
  • Group: Members
  • Posts: 13
  • Joined: 2022-February-06
  • Gender:Male
  • Location:Australia

Posted 2024-April-25, 15:42

 paulg, on 2024-April-25, 01:23, said:

They do.

[...]

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)
    )
)

0

#9 User is offline   smerriman 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,042
  • Joined: 2014-March-15
  • Gender:Male

Posted 2024-April-25, 17:02

 CraigRT, on 2024-April-25, 15:42, said:

Smerriman just made me start to doubt myself when he suggested it didn't work that way.

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)
0

Page 1 of 1


Fast Reply

  

9 User(s) are reading this topic
0 members, 9 guests, 0 anonymous users