File: Descr.blue_team

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 (28 lines) | stat: -rw-r--r-- 568 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
24
25
26
27
28
#
# This example creates hands to illustrate the Blue Team Club auction
# 1C-1H, with 1C strong and 1H positive without 3 controls.
#
west1c = hcp(west)>16

east1h = hcp(east)>7 && control(east)<3

condition	
        west1c and east1h

produce 
	10

action 
	printew,
        frequency  (control(east), 0, 6),
        frequency  (loser(east), 0, 13)

# The output will look like:
#
# A                   Q 4 3 
# A Q                 9 7 6 
# A K Q J T 3 2       8 
# J 8 6               A Q T 9 7 4 
#
# leaving ample space to comment about the bidding after 1C-1H.
#