File: Descr.notrump

package info (click to toggle)
dealer 20161012-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,148 kB
  • sloc: ansic: 2,436; yacc: 630; perl: 400; makefile: 139; sh: 5
file content (23 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Generate hands for practicing bidding after 1NT, then print them in the
# 1 line/deal format and on separate sheets with only the East and West
# hands.

east_notrump =
	shape(east, any 4333 + any 4432 + any 5332 - 5xxx - x5xx)
	&& hcp(east)>=15 && hcp(east)<=17

#
# West gets either 7-9 hcp or 13-18
#
west_interesting_low = hcp(west)>=7 and hcp(west)<=9 
west_interesting_high = hcp(west)>=13 and hcp(west)<=18

condition
	east_notrump and ( west_interesting_low or west_interesting_high)

produce 
	100

action
        printoneline,
	print(east, west)