File: Descr.6c

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 (37 lines) | stat: -rw-r--r-- 719 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
29
30
31
32
33
34
35
36
37
# A typical play decision, here is the hand, the bidding and trick one
#
#	J x x x x x x
#	J x
#	x x
#	9 5
#
#
#	A
#	A Q
#	A
#	A Q J 10 x x x x x
#
#	W	N	E	S
#	p	p	1D	dbl
#	1H	2S	3H	4C
#	p	4S	p	6C
#	all pass
#
# The lead is a small diamond to the K and A, how to play?
# Two possibilities, play for the drop of the KC or lead the QC,
# cross to the 9 and take the heart finesse.
#
# the inferences from bidding and trick one are encoded below
predeal
	north SJ865432, HJ5, D72, C95
	west DQ5
	south SA, HAQ, DA, CAQJT87642
	east DKJ
generate 
	1000000

condition
	hcp(east)>=10 && shape(west, x5xx) && shape(east, x45x + x46x + x47x)
action
	average "king drops" shape(west, xxx1),
	average "finesse" hascard(east, KH)