gdealer | Loading… | Buffer g = generate   ← → = navigate   Ctrl+=−0 = zoom
N/S DD Tricks
NS
NT
N
♠ —
♥ —
♦ —
♣ —
E/W DD Tricks
EW
NT
W
♠ —
♥ —
♦ —
♣ —
Press
Generate
E
♠ —
♥ —
♦ —
♣ —
N/S Stats
NS
HCP
NLTC
Ctrl
S
♠ —
♥ —
♦ —
♣ —
E/W Stats
EW
HCP
NLTC
Ctrl

History

Filter

(not available in web UI)
Unsaved changes

Available objects

deal # the current deal deal.north # North's hand (.east .south .west)

Hand properties

deal.north.hcp # high card points (0-37) deal.north.controls # controls (A=2, K=1) deal.north.losers # LTC loser count deal.north.newltc # New LTC loser count len(deal.north.spades) # spade length len(deal.north.hearts) # heart length (also .diamonds .clubs) balanced(deal.north) # True if balanced

HandFuncs methods

HandFuncs.has_five_card_major(deal.north) HandFuncs.has_four_card_major(deal.north) HandFuncs.has_both_four_card_majors(deal.north) HandFuncs.length_hcp(deal.north) HandFuncs.zar_points(deal.north)

Examples

deal.north.hcp >= 17 deal.north.hcp >= 15 and balanced(deal.north) def accept(deal): north_ok = (deal.north.hcp >= 15 and balanced(deal.north)) south_ok = deal.south.hcp >= 8 return north_ok and south_ok

Notes

Use and / or / not (not && / || / !)