Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Restarting an adjourned game on a chess server through Winboard.

Author: Dan Homan

Date: 06:27:42 02/18/99

Go up one level in this thread


On February 18, 1999 at 00:37:05, James Robertson wrote:

>The title says most of it. What commands will winboard send, and how should they
>be parsed?
>
>James


Look in the documentation for engine interface that comes with Winboard.
Here is a brief summary (from my memory, so check the docs...)

It will send "new" to start a new game.

Next, it will send  "force", this command should allow your
program to accept moves from both sides.  (To do this, I just set
a flag that makes my program think a human is playing both black and
white.)

Then it will simply send the moves of the game, up to the point
where the game was interrupted.

Finally, it will send "white" or "black" to set the side to move.
This command should also take you out of force mode.

It will send an additional "go" command if this is necessary to
force the engine to take the current side to move.

(Note: the definition of "white" and "black" and the purpose for the
"go" command have changed in Winboard.   Some programs use them in
different ways....  I think mine may actually use them incorrectly, but
it seems to work fine with Winboard.  Check the docs to be sure of
the correct use.... I should do so, as well :)

 - Dan



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.