File: Descr.controls

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 (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)