Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CPIP protocol spec

Author: Tom Kerrigan

Date: 23:10:46 06/01/98

Go up one level in this thread


>1.  I notice that Robert Hyatt has made extensions to FEN to allow for:
>   A.  Castling possibilities
>   B.  En-passant status.
>Do you support this sort of functionality for positional notation?

I'm not sure Hyatt did this. Anyway, yes, the "pos" position format is
actually very similar to FEN. Basically the only difference is that the
fields are fixed-length to make life easier for programmers.

>2.  I notice that the CDB author Peter Klauser has a TCP/IP interface to
>his software.  It might be nice to meld a common interface an publish a
>final spec.

I thought CDB was some sort of database? CPIP is meant for communication
with chess programs. I think it would be fairly easy for him to add
support in his program to run a CPIP program for analysis of a position.

>3.  Will your software allow flexible configuration of port number?

The way to use CPIP over a network is to write a CPIP "network
interface". It would run CPIP chess programs and do (whatever) over a
network. Therefore, the details of the network are left entirely up to
the network interface programmer.

An example of this would be a CPIP ICS program that would log onto an
ICS and play with a CPIP program. The advantage to using CPIP for this
is that once the ICS program is written, it's trivial to change which
CPIP "engine" it uses.

Another example is an Auto232 substitute. You could write an interface
program that runs a CPIP program and talks to a copy of itself over a
network. This way, two [possibly] different programs on two different
computers play each other automatically.

After these examples, the benefits of CPIP should be pretty obvious. If
you're a chess engine programmer, all you have to do is write one
program. After that, it's extremely portable, and you get all the
functionality of every CPIP interface ever written. If you're an
interface programmer, all you have to do is get the interface to work
with once CPIP program and it works with them all.

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.