File: tiny.tst

package info (click to toggle)
gnugo 3.8-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 17,312 kB
  • ctags: 4,228
  • sloc: ansic: 56,439; perl: 3,771; lisp: 2,789; sh: 730; makefile: 700; python: 682; awk: 113; sed: 22
file content (106 lines) | stat: -rw-r--r-- 2,104 bytes parent folder | download | duplicates (8)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# This test suite contains tests for boards of size 1x1, 2x2, 3x3, and 4x4.

# No legal move on 1x1, so PASS is the only option.
boardsize 1
clear_board
101 reg_genmove black
#? [PASS]


# Should play on the empty board. (?)
loadsgf games/tiny/2x2.sgf 1
201 reg_genmove black
#? [A1|A2|B1|B2]

# B2 urgent
loadsgf games/tiny/2x2.sgf 2
202 reg_genmove white
#? [B2]

# Black can make two eyes.
203 reg_genmove black
#? [B2]

# Black can make two eyes.
loadsgf games/tiny/2x2.sgf 3
204 reg_genmove black
#? [B2]


# Taking the center point secures the whole board.
loadsgf games/tiny/3x3a.sgf 1
301 reg_genmove black
#? [B2]

loadsgf games/tiny/3x3a.sgf 3
302 reg_genmove black
#? [B1|B3|C2]

loadsgf games/tiny/3x3a.sgf 5
303 reg_genmove black
#? [C2]

loadsgf games/tiny/3x3b.sgf 2
304 reg_genmove white
#? [B2]*

loadsgf games/tiny/3x3b.sgf 3
305 reg_genmove black
#? [B3|B1|C2]

loadsgf games/tiny/3x3b.sgf 5
306 reg_genmove black
#? [C2]


loadsgf games/tiny/4x4a.sgf 1
401 reg_genmove black
#? [B2|C2|B3|C3]

loadsgf games/tiny/4x4a.sgf 2
402 reg_genmove white
#? [B2]*

loadsgf games/tiny/4x4a.sgf 3
403 reg_genmove black
#? [B3|C2]

loadsgf games/tiny/4x4a.sgf 4
404 reg_genmove white
#? [B3]

loadsgf games/tiny/4x4a.sgf 5
405 reg_genmove black
#? [B1|B4|C1|C4]

# C4 gives the same result under Chinese rules but is one point worse
# under Japanese rules.
loadsgf games/tiny/4x4a.sgf 6
406 reg_genmove white
#? [C1]

# A3, B1, C4, and D2 all give jigo under Japanese rules. Under Chinese
# rules the results are A3:B+2, B1:B+1, C4:jigo, D2:W+1.
loadsgf games/tiny/4x4a.sgf 7
407 reg_genmove black
#? [A3]*

# Under Chinese rules all of B1, D2, and C4 give B+2. Under Japanese
# rules B1 and D2 give jigo while C4 gives B+1.
loadsgf games/tiny/4x4a.sgf 8
408 reg_genmove white
#? [B1|D2]

# A2, C4, and D2 all give jigo under Japanese rules. Under Chinese
# rules A2 gives B+2, C4 gives jigo, and D2 gives W+1.  
loadsgf games/tiny/4x4a.sgf 9
409 reg_genmove black
#? [A2]

loadsgf games/tiny/4x4a.sgf 10
410 reg_genmove white
#? [D2]

loadsgf games/tiny/4x4a.sgf 11
411 reg_genmove black
#? [D4]