File: Descr.controls

package info (click to toggle)
dealer 0.20040530-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,032 kB
  • sloc: ansic: 4,178; yacc: 578; perl: 396; makefile: 200
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)