Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Communicating with UCI engines

Author: Fabien Letouzey

Date: 01:22:38 08/01/05

Go up one level in this thread



Hi Andrei,

On August 01, 2005 at 04:10:14, Andrei Fortuna wrote:

>1) load engine as a separate process, redirect it's input and output so my
>initial process can communicate with it

>2)in the start send:
>    uci
>    ucinewgame

No.  The correct order is "uci", then options (probably none yet, but hash table
is important as some might allocate only 1-4MB by default), then - IMPORTANT -
"isready".  Without "isready", it is not guaranteed that engines are
initialised!

Send "ucinewgame" before each new game and also before each new
(unrelated-to-previous-ones) FEN string.

Fabien.




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.