Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: UCI protocol question

Author: Gian-Carlo Pascutto

Date: 15:34:53 10/04/05

Go up one level in this thread


On October 04, 2005 at 18:05:02, Jon Dart wrote:

>I have taken a look at the UCI protocol (one description is
>here: http://www.aarontay.per.sg/Winboard/uciapril.html),
>but one thing concerns me: it does not look like the GUI
>sends the engine any indication of end of game, except the
>"ucinewgame" command, which is apparently optional.

Correct. There is no guarantee you will get ucinewgame,
which effectively makes it useless.

>Currently under Winboard I get a "result" command with win,
>loss or draw, and at that point I can save the complete game
>to a log file and also do book learning based on the game result.
>
>If I don't get a game result (win, loss, draw) I can't do
>these things in general, although in some cases I will know
>the result from the engine.

It's up to the user and interface to decide when the game is won
or lost, not the engine (different from xboard protocol).

You can simply detect when a new game starts and then do your stuff,
no need for ucinewgame for that.

--
GCP



This page took 0.01 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.