Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Winboard Feature protocol

Author: Tord Romstad

Date: 01:40:24 12/28/03

Go up one level in this thread


On December 28, 2003 at 03:32:14, Matt Thomas wrote:

>This question pertains to a chess engine I am attempting to create.

Good luck!  It's great fun, once you have reached the stage where the engine
plays
chess.

>I am not absolutely certain of the format to use when sending the feature list
>from my engine to Winboard.  I am reading the WB command protocols list and it
>describes sending features in the format feature feature1=value f2=val f3=val,
>but it also mentions feature sets using a comma ie: feature=value,
>
>So can I send a group of features?, ie: feature ping=1 setboard=1 playother=1 or
>should a comma seperate the groups?, ie: feature ping=1, setboard=1, playother=1

I put each feature on a separate line, like this:

feature ping=1
feature setboard=1
feature san=0
feature usermove=1
feature time=1
feature sigint=0
feature sigterm=0
feature reuse=1
feature analyze=1
feature ics=1
feature myname="Gothmog 0.4.4"
feature done=1

This works well in xboard, Winboard and Arena.  I am not sure about other GUIs.

>What if I send a group of features to Winboard or a quasi-Winboard compatable
>program that may not accept one of the features in a large group?  How will
>program x notifiy my engine?  I would only guess that the unaccepted command
>would be echoed back with the string "rejected" appended.  Something like ?:
>ping rejected    And I would expect this to happen after, not during the sending
>of the feature list from eng to WB?

Yes, I think so.

Tord



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.