Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: No this wont solve your problem Andrei

Author: Andrei Fortuna

Date: 01:46:49 12/22/03

Go up one level in this thread


On December 21, 2003 at 17:26:11, Peter Fendrich wrote:

>On December 21, 2003 at 12:28:29, Andrei Fortuna wrote:
>
>>.
>
>It only solves it for Crafty but if your adaptor is supposed to be winboard
>compatible it must accept the SAN notation.

To quote from winboard/xboard specs :

"Warning: Even though all versions of this protocol specification have indicated
that xboard accepts SAN moves, some non-xboard interfaces are known to accept
only coordinate notation. See the Idioms section for more information on the
known limitations of some non-xboard interfaces. It should be safe to send SAN
moves if you receive a "protover 2" (or later) command from the interface, but
otherwise it is best to stick to coordinate notation for maximum compatibility.
An even more conservative approach would be for your engine to send SAN to the
interface only if you have set feature san=1 (which causes the interface to send
SAN to you) and have received "accepted san" in reply. "

At the moment all the engines I tested output their moves in the coordinate
notation which make me happy, as I don't have yet time to write code to parse
SAN moves. Perhaps later I'll add SAN parsing if really, really necessary.

Andrei




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.