Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CPIP protocol spec

Author: Tom Kerrigan

Date: 13:29:59 06/02/98

Go up one level in this thread


Interesting thoughts...

>1) I think the timecontrol stuff should be separated out of
>   the "go" command.  Suppose you want to play a game between

Actually, if you look closely at the spec, you'll notice that the time
control isn't being sent. The interface sends the moves remaining and
the time remaining until the next time control. This makes the engine's
job MUCH easier...

>2) Perhaps moves could be prefaced with a tag like all the
>   other commands, e.g. "move e2e4", though obviously this

Good suggestion. I may make this a requirement of CPIP 0.101.

>3) It would be nice to have a command (from the chess engine)
>   to indicate that it is ready for a game--something that is
>   missing (I think) from the Winboard protocol.  (My program

Right now, the "ping" and "pong" code in CPView and Spot basically
doesn't do anything, but it can be easily modified so the interface
waits until the program "pongs".

>5) Commands for resigning, offering/accepting draw, etc. are
>   needed as well as commands for setting the side (color)
>   of the engine(s) (though the "pos" command might be enough
>   for some purposes).

Good ideas. I'll work on commands for resigning and drawing. BTW, the
engine doesn't "own" a color. It's just supposed to think when it gets
the "go" command.

>6) Some specification of what comes first in sequences of
>   commands that typically come together, e.g.., which comes

Hum, I can see how this would matter if you're logging that
information... I'll check that out too.

>9) My current program doesn't do undo at present.  If it is
>   sent an "undo" it needs some way of telling the sender

I think it's reasonable to expect programs to undo moves... It's easier
and consumes much less bandwidth than the alternative... (ie, sending
the "base" position and all the moves leading up to the desired position
every time the user wants to undo a move...)

Thanks for the comments!

Cheers,
Tom



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.