gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Tests inside SGF files


From: Daniel Bump
Subject: Re: [gnugo-devel] Tests inside SGF files
Date: Thu, 22 Nov 2001 07:27:28 -0800

Trevor wrote:

> OK, I took you up on this.  You can see the results with trevor_1_15.3.
> 
> Here's the perl script I used.  It currently only processes SGF files 
> without variations, but that's quite useful enough when annotating
> games.
> 
> The approach I took is quite simple.  All GTP commands are put into
> the SGF comment field.  The comment field is interpretted in order:
>  1) Lines starting with "#" are copied into the tst file.
>  2) owl_attack or owl_defend commands can be put in like:
>       owl_attack A1
>       1 G2        
>  3) Otherwise, a single line is interpretted as the correct answer, with
>     the appropriate "gg_genmove" directive added automatically.
> 
> Here's the script.  Feel free to add it to the distribution if anyone
> else would find it handy:

This is now in the CVS as interface/gtp_examples/sgf2tst .

Dan



reply via email to

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