[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] more illegal moves
From: |
Evan Berggren Daniel |
Subject: |
[gnugo-devel] more illegal moves |
Date: |
Mon, 26 Aug 2002 14:56:21 -0400 (EDT) |
matcher_check --sgffile test.sgf --randseed 1030384617
produces a game in which GNU Go plays an illegal move (where there is
already a stone) at move 16.
Also, here is a patch to fix a bug in the matcher_check automatic gtp
output.
Thanks
Evan Daniel
Index: matcher_check
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/gtp_examples/matcher_check,v
retrieving revision 1.8
diff -u -r1.8 matcher_check
--- matcher_check 25 Aug 2002 23:57:25 -0000 1.8
+++ matcher_check 26 Aug 2002 18:54:36 -0000
@@ -531,19 +548,19 @@
eat_no_response($out);
my $oa_result = "";
my $oda_result = "";
- print $in "owl_attack $vertex\n";
+ print $in "owl_attack $il_vertex\n";
$oa_result = eat_one_line($out);
- print "owl_attack $vertex\: $oa_result\n";
- print $in "owl_does_attack $move $vertex\n";
+ print "owl_attack $il_vertex\: $oa_result\n";
+ print $in "owl_does_attack $il_move $il_vertex\n";
$oda_result = eat_one_line($out);
- print "owl_does_attack $move $vertex\: $oda_result\n";
+ print "owl_does_attack $il_move $il_vertex\: $oda_result\n";
#now try to do something with it
if ($oa_result eq "= 0" and $oda_result ne "= 0") {
print "found a missed attack.\n\n";
my $m = $movenum - 1;
print "loadsgf $sgffile $m\n";
- print "owl_attack $vertex\n";
+ print "owl_attack $il_vertex\n";
print "#$oa_result\n";
print "#? [1 $move]*\n\n";
} else {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] more illegal moves,
Evan Berggren Daniel <=