gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Bug report gnugo-3.3.8


From: Evan Berggren Daniel
Subject: Re: [gnugo-devel] Bug report gnugo-3.3.8
Date: Sat, 14 Sep 2002 14:01:25 -0400 (EDT)

On Sat, 14 Sep 2002, Arend Bayer wrote:

> On Thu, 12 Sep 2002, Evan Berggren Daniel wrote:
>
> > diff -u -d -r1.16 matcher_check
> > --- matcher_check   5 Sep 2002 03:26:36 -0000       1.16
> > +++ matcher_check   12 Sep 2002 13:34:51 -0000
> > @@ -671,7 +671,7 @@
> >     #cancel the undo
> >     my $last_played = "B";
> >     if ($toplay eq "B") { $last_played = "W"; }
> > -   print $in "gg_genmove $last_played\n";
> > +   print $in "genmove_$last_played\n";
> >     eat_move($out);
> >      }
>
> Maybe I am missing something, but shouldn't this be
> my $last_played = "black"; if ... ($last_played = "white")?
> The command should be genmove_black, not genmove_B.


Yeah, probably...  I was thinking B because gg_genmove B works...

Thanks

Evan Daniel

Index: matcher_check
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/gtp_examples/matcher_check,v
retrieving revision 1.16
diff -u -d -r1.16 matcher_check
--- matcher_check       5 Sep 2002 03:26:36 -0000       1.16
+++ matcher_check       14 Sep 2002 18:00:54 -0000
@@ -669,9 +669,9 @@
        }

        #cancel the undo
-       my $last_played = "B";
-       if ($toplay eq "B") { $last_played = "W"; }
-       print $in "gg_genmove $last_played\n";
+       my $last_played = "black";
+       if ($toplay eq "B") { $last_played = "white"; }
+       print $in "genmove_$last_played\n";
        eat_move($out);
     }






reply via email to

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