File: Descr.controls

package info (click to toggle)
dealer 0.20040530-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 820 kB
  • ctags: 739
  • sloc: ansic: 4,178; yacc: 578; perl: 396; makefile: 144
file content (12 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
# This example calculates the frequency of controls (A=2, K=1) in a
# strong balanced hand

condition
	shape(north, any 4333 + any 4432 + any 5332) and
		hcp(north)>=20 and hcp(north)<=22

produce 
	10000

action
	frequency "controls" (control(north), 0, 12)