[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] patterns

From: Gunnar Farnebäck
Subject: Re: [gnugo-devel] patterns
Date: Sat, 13 May 2006 09:41:27 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/21.3 (sparc-sun-solaris2.9) MULE/5.0 (SAKAKI)

David wrote:
> Because of a move that was suggested to SlugGo in one of the 9x9  
> games in the last KGS tournament, I have been reading the  
> documentation on patterns and do not see any examples of the sort "DO  
> NOT MOVE HERE. under condition Z" I see reference to a comment property
>       `0' - antisuji (`A' can also be used)
> but it seems to only be a comment, not an attribute that the engine  
> could use. Or I am misunderstanding the doc ...

I hope this comes from the documentation of the joseki database. There
the comment property in the sgf files is used to mark different types
of moves and is interpreted by the joseki.c program which translates
them to .db files. In those the "DO NOT MOVE HERE" patterns receive
the N attribute (see e.g. pattern JK42 in kosumi.db), which after
matching is converted to an antisuji move reason near the end of
joseki_callback() in engine/shapes.c.

Outside of the joseki database, antisuji moves are marked with the
antisuji action, e.g. in pattern AS2 in patterns2.db

Pattern AS2

?XO     don't play double hane at the edge



;!oplay_attack(*,a,a) && oplay_attack(*,a,b,b)


As a further comment almost all antisuji patterns in patterns.db and
patterns2.db are probably too general.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]