Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: ping/pong implementation in crafty

Author: Peter Fendrich

Date: 01:10:46 09/11/02

Go up one level in this thread


On September 10, 2002 at 17:46:55, Robert Hyatt wrote:

>On September 10, 2002 at 15:34:05, Steffen Jakob wrote:
>
>>The xboard protocol spec says:
>>
>>"ping N" ... "if you receive a ping while pondering, you should reply
>>immediately and continue pondering."
>>
>>Crafty doesn't do this correctly. If you send "ping N" to crafty while it is
>>pondering it delays its response until a move was made.
>>
>>Greetings,
>>Steffen.
>
>
>You are right.  Although I don't see why xboard would ever send a "ping x"
>while I am pondering since I can't imagine commands coming in right then.  But
>I did fix this just now...

One reason could be to see if the engine is still alive.
The protocol doesn't force you to implement the "." that otherwise
could be used. In fact it doesn't force you to send anything during
pondering except for "pong x".
Peter



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.