Skip to content

Commit

Permalink
and a situation for completing the relay
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinland committed Sep 21, 2024
1 parent ccbc9f1 commit 0a3d2cc
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/Bids/Lebensohl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module Bids.Lebensohl(
, b1No2S3C
, b1No2S3D
, b1No2S3H
, b1NoBM2N -- For when the opponents show both majors
) where


Expand Down Expand Up @@ -223,3 +224,12 @@ b1No2S2N = do
, b1No2S2N3C3H
]
makeAlertableCall (T.Bid 2 T.Notrump) ("relay to " .+ T.Bid 3 T.Clubs)


-- Have a special one for when the opponents show both majors
b1NoBM2N :: Action
b1NoBM2N = do
alternatives [ b1No2S2N3CP
, b1No2S2N3C3D
]
makeAlertableCall (T.Bid 2 T.Notrump) ("relay to " .+ T.Bid 3 T.Clubs)
40 changes: 38 additions & 2 deletions src/Topics/Lebensohl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ signoff3 = let
-- Again, don't bid a major when RHO has them both. 3D should be
-- natural and not a cue bid, because you'd never want to have a
-- Stayman-like bid when RHO has shown both majors.
, (Capp.b1No2D, alternatives [Leb.b1No2H2N, Leb.b1No2S2N],
, (Capp.b1No2D, Leb.b1NoBM2N,
[Leb.b1No2D2N3CP, Leb.b1No2H2N3C3D])
, (Capp.b1No2H, Leb.b1No2H2N,
[Leb.b1No2H2N3CP, Leb.b1No2H2N3C3D])
Expand All @@ -189,12 +189,47 @@ signoff3 = let
<~ T.allVulnerabilities


completeRelay :: Situations
completeRelay = let
sit (overcall, relay) = let
action = do
setOpener T.South
Leb.b1N
overcall
relay
explanation =
"We opened a strong " .+ Leb.b1N .+ ", and LHO interfered " .+
"with the auction. Partner made a lebensohl bid, and we " .+
"should complete the relay to see what they do next. Partner " .+
"is captain of the auction, and knows where we're going."
in situation "relay" action Leb.b1N2N3C explanation
in
wrap $ return sit
<~ [ (Nat.b1No2D, Leb.b1No2D2N)
, (Nat.b1No2H, Leb.b1No2H2N)
, (Nat.b1No2S, Leb.b1No2S2N)
, (DONT.b1No2D, Leb.b1No2D2N)
, (DONT.b1No2H, Leb.b1NoBM2N)
, (DONT.b1No2S, Leb.b1No2S2N)
, (MW.b1No2D, Leb.b1No2D2N)
, (MW.b1No2H, Leb.b1No2H2N)
, (MW.b1No2S, Leb.b1No2S2N)
-- Again, don't bid a major when RHO has them both. 3D should be
-- natural and not a cue bid, because you'd never want to have a
-- Stayman-like bid when RHO has shown both majors.
, (Capp.b1No2D, Leb.b1NoBM2N)
, (Capp.b1No2H, Leb.b1No2H2N)
, (Capp.b1No2S, Leb.b1No2S2N)
]
-- West should be an unpassed hand to interfere.
<~ [T.North, T.South, T.East]
<~ T.allVulnerabilities

-- TODO:
-- jump to 3N
-- relay to 3N (answer should be 2N planning to rebid 3N)
-- cue bid for Stayman
-- relay to cue bid (answer should be 2N planning to rebid the cue)
-- complete the relay
-- pass after relay and signoff
-- pass or bid game after relay and invite

Expand All @@ -208,4 +243,5 @@ topic = makeTopic
, signoff2
, signoff3
, gameForce
, completeRelay
]

0 comments on commit 0a3d2cc

Please sign in to comment.