Hi all,

GNU Chess is notifying its moves as:

My move is: <MOVE>

whereas according to the Winboard 2 protocol specification (see
http://www.tim-mann.org/xboard/engine-intf.html#9) it should be:

move <MOVE>

The following patch to iterate.c corrects the problem:

--- iterate.original.c  2003-06-30 08:28:38.000000000 -0300
+++ iterate.c   2009-09-17 13:18:31.000000000 -0300
@@ -289,11 +289,11 @@
    if (flags & XBOARD)
    {
       printf ("%d. ... %s\n", GameCnt/2 + 1, AlgbrMove(RootPV));
-      printf ("My move is: %s\n", AlgbrMove(RootPV));
+      printf ("move %s\n", AlgbrMove(RootPV));
       fflush(stdout);
       if (ofp != stdout) {
         fprintf (ofp,"%d. ... %s\n", GameCnt/2 + 1, AlgbrMove(RootPV));
-        fprintf (ofp,"My move is: %s\n", AlgbrMove(RootPV));
+        fprintf (ofp,"move %s\n", AlgbrMove(RootPV));
         fflush(ofp);
       }
    }

Cheers,

Alex


_______________________________________________
Bug-gnu-chess mailing list
Bug-gnu-chess@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-chess

Reply via email to