Commit | Line | Data |
---|---|---|
7eeb782e AT |
1 | # This test suite contains tests for boards of size 1x1, 2x2, 3x3, and 4x4. |
2 | ||
3 | # No legal move on 1x1, so PASS is the only option. | |
4 | boardsize 1 | |
5 | clear_board | |
6 | 101 reg_genmove black | |
7 | #? [PASS] | |
8 | ||
9 | ||
10 | # Should play on the empty board. (?) | |
11 | loadsgf games/tiny/2x2.sgf 1 | |
12 | 201 reg_genmove black | |
13 | #? [A1|A2|B1|B2] | |
14 | ||
15 | # B2 urgent | |
16 | loadsgf games/tiny/2x2.sgf 2 | |
17 | 202 reg_genmove white | |
18 | #? [B2] | |
19 | ||
20 | # Black can make two eyes. | |
21 | 203 reg_genmove black | |
22 | #? [B2] | |
23 | ||
24 | # Black can make two eyes. | |
25 | loadsgf games/tiny/2x2.sgf 3 | |
26 | 204 reg_genmove black | |
27 | #? [B2] | |
28 | ||
29 | ||
30 | # Taking the center point secures the whole board. | |
31 | loadsgf games/tiny/3x3a.sgf 1 | |
32 | 301 reg_genmove black | |
33 | #? [B2] | |
34 | ||
35 | loadsgf games/tiny/3x3a.sgf 3 | |
36 | 302 reg_genmove black | |
37 | #? [B1|B3|C2] | |
38 | ||
39 | loadsgf games/tiny/3x3a.sgf 5 | |
40 | 303 reg_genmove black | |
41 | #? [C2] | |
42 | ||
43 | loadsgf games/tiny/3x3b.sgf 2 | |
44 | 304 reg_genmove white | |
45 | #? [B2]* | |
46 | ||
47 | loadsgf games/tiny/3x3b.sgf 3 | |
48 | 305 reg_genmove black | |
49 | #? [B3|B1|C2] | |
50 | ||
51 | loadsgf games/tiny/3x3b.sgf 5 | |
52 | 306 reg_genmove black | |
53 | #? [C2] | |
54 | ||
55 | ||
56 | loadsgf games/tiny/4x4a.sgf 1 | |
57 | 401 reg_genmove black | |
58 | #? [B2|C2|B3|C3] | |
59 | ||
60 | loadsgf games/tiny/4x4a.sgf 2 | |
61 | 402 reg_genmove white | |
62 | #? [B2]* | |
63 | ||
64 | loadsgf games/tiny/4x4a.sgf 3 | |
65 | 403 reg_genmove black | |
66 | #? [B3|C2] | |
67 | ||
68 | loadsgf games/tiny/4x4a.sgf 4 | |
69 | 404 reg_genmove white | |
70 | #? [B3] | |
71 | ||
72 | loadsgf games/tiny/4x4a.sgf 5 | |
73 | 405 reg_genmove black | |
74 | #? [B1|B4|C1|C4] | |
75 | ||
76 | # C4 gives the same result under Chinese rules but is one point worse | |
77 | # under Japanese rules. | |
78 | loadsgf games/tiny/4x4a.sgf 6 | |
79 | 406 reg_genmove white | |
80 | #? [C1] | |
81 | ||
82 | # A3, B1, C4, and D2 all give jigo under Japanese rules. Under Chinese | |
83 | # rules the results are A3:B+2, B1:B+1, C4:jigo, D2:W+1. | |
84 | loadsgf games/tiny/4x4a.sgf 7 | |
85 | 407 reg_genmove black | |
86 | #? [A3]* | |
87 | ||
88 | # Under Chinese rules all of B1, D2, and C4 give B+2. Under Japanese | |
89 | # rules B1 and D2 give jigo while C4 gives B+1. | |
90 | loadsgf games/tiny/4x4a.sgf 8 | |
91 | 408 reg_genmove white | |
92 | #? [B1|D2] | |
93 | ||
94 | # A2, C4, and D2 all give jigo under Japanese rules. Under Chinese | |
95 | # rules A2 gives B+2, C4 gives jigo, and D2 gives W+1. | |
96 | loadsgf games/tiny/4x4a.sgf 9 | |
97 | 409 reg_genmove black | |
98 | #? [A2] | |
99 | ||
100 | loadsgf games/tiny/4x4a.sgf 10 | |
101 | 410 reg_genmove white | |
102 | #? [D2] | |
103 | ||
104 | loadsgf games/tiny/4x4a.sgf 11 | |
105 | 411 reg_genmove black | |
106 | #? [D4] |