Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Extension of the UCI protocol

Author: Tord Romstad

Date: 10:03:49 04/20/04

Go up one level in this thread


Hi Stefan,

A suggestion for future versions of the protocol:  It would be useful to have
something similar to the "protover" command in the xboard protocol.  I have
already seen one example of an engine which does not work in UCI2 GUIs because
(if I understood the problem correctly) the author had already implemented a
command named "ucinewgame" which was used for internal debugging purposes.
When the new protocol version arrived and the GUI started sending the
"ucinewgame" command at (for the engine) unexected moments, it started making
illegal moves.

A simple way to solve this would be to let the engine report the latest protocol
version it supports when it sends the "uciok" command to the GUI.  When you
design
protocol version 3, never send any of the new protocol 3 commands to the engine
unless the engine says "uciok 3" at startup.

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.