[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] optics patch
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] optics patch |
Date: |
Thu, 15 Nov 2001 22:57:38 +0100 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
I wrote:
> What's really fun here though is the test_eyeshape() function. To
> explain what it does, I'll give an example. Start GNU Go in gtp mode
> and run the commands
>
> boardsize 9
> test_eyeshape E6 F6 E5 F5 F4
It's of course more fun if you have a file with ready-made eyeshapes.
This should go somewhere in the distribution, but I'm not sure exactly
where.
/Gunnar
boardsize 9
# .
1 test_eyeshape E5
# ..
2 test_eyeshape E5 F5
# ...
3 test_eyeshape E6 E5 F5
############################
# All eye shapes of size 4 #
############################
# ....
4 test_eyeshape E6 E5 F5 F4
# .
# ...
5 test_eyeshape E6 D5 E5 F5
# ..
# ..
6 test_eyeshape E6 F6 E5 F5
############################
# All eye shapes of size 5 #
############################
# .....
7 test_eyeshape D6 E6 E5 F5 F4
# .
# ....
8 test_eyeshape E6 D5 E5 F5 F4
# ..
# ...
9 test_eyeshape E6 F6 E5 F5 F4
# .
# ...
# .
10 test_eyeshape E6 D5 E5 F5 E4
############################
# All eye shapes of size 6 #
############################
boardsize 13
# ......
11 test_eyeshape F8 G8 H8 H7 H6 G6
# .
# .....
12 test_eyeshape G8 F7 G7 H7 H6 J6
# .
# .....
13 test_eyeshape G8 F7 G7 H7 F6 H6
# .
# ....
# .
14 test_eyeshape G8 F7 G7 H7 J7 G6
# .
# ....
# .
15 test_eyeshape G8 F7 G7 H7 J7 H6
# ..
# ....
16 test_eyeshape G8 H8 F7 G7 H7 H6
# ..
# ....
17 test_eyeshape G8 H8 G7 H7 F6 G6
# ...
# ...
18 test_eyeshape F8 G8 H8 G7 H7 H6
# ..
# ...
# .
19 test_eyeshape G8 H8 F7 G7 H7 G6
# ...
# ...
20 test_eyeshape G8 H8 G7 H7 G6 H6
#################################
# Selected eye shapes of size 7 #
#################################
# ...
# ...
# .
21 test_eyeshape F8 G8 H8 F7 G7 H7 G6
# ...
# ....
22 test_eyeshape F8 G8 H8 F7 G7 H7 H6
# ..
# .....
23 test_eyeshape G8 H8 F7 G7 H7 H6 J6
# ...
# ....
24 test_eyeshape F8 G8 H8 G7 H7 H6 J6
# ...
# ...
# .
25 test_eyeshape E8 F8 G8 F7 G7 H7 G6
# ..
# ....
# .
26 test_eyeshape F8 G8 E7 F7 G7 H7 G6
# ..
# ....
# .
27 test_eyeshape E8 F8 E7 F7 G7 H7 F6
# ..
# ...
# ..
28 test_eyeshape E8 F8 E7 F7 G7 F6 G6
#####################################
# Selected eye shapes in the corner #
#####################################
# |.
# |...
# +---
101 test_eyeshape A1 B1 C1 A2
# |.
# |.
# |...
# +---
102 test_eyeshape A1 B1 C1 A2 A3
# |.
# |....
# +----
103 test_eyeshape A1 B1 C1 D1 A2
# |..
# | ...
# +----
104 test_eyeshape B1 C1 D1 A2 B2
# |..
# |...
# +---
105 test_eyeshape A1 B1 C1 A2 B2
# |..
# |....
# +----
106 test_eyeshape A1 B1 C1 D1 A2 B2
# |...
# |...
# +---
107 test_eyeshape A1 B1 C1 A2 B2 C2