Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: UCI-protocol question

Author: Fabien Letouzey

Date: 02:51:45 04/02/04

Go up one level in this thread



On April 02, 2004 at 05:47:59, Ingo Bauer wrote:

>Hello
>
>>How should the interface ask the engine to setup the starting position?
>>
>>In my UCI-xboard adapter, I send "position startpos".  Do engines expect
>>"position startpos moves", with nothing after "moves"???  In other words, is the
>>"moves" argument mandatory, even if there is no move to send?

>"position startpos" is enough. No "moves" command needed.

OK, so there seems to be a bug in the List engine then.
It is not clear from the UCI description that "moves" is optional.

>Ingo

>BTW: There is an extension for the UCI protokoll available since yesterday. You
>now have the new command "ucinewgame" (self explaining!). The only GUI that is
>supporting this today is the new Shredder Classic GUI but I hope others will
>follow. Download the new specification here:

Yes, I am reading it :)

BTW, I think there is a small glitch in the description:

---

* all command strings the engine receives will end with '\n',
  also all commands the GUI receives should end with '\n',
  Note: '\n' can be 0x0c or 0x0a0c or any combination depending on your OS.
  If you use Engine und GUI in the same OS this should be no problem if you
cummunicate in text mode,
  but be aware of this when for example running a Linux engine in a Windows GUI.

---

I think 0x0c should be replaced with 0x0d everywhere (carriage return).

Fabien.




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