Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Communicating with UCI engines

Author: Andrei Fortuna

Date: 01:36:24 08/01/05

Go up one level in this thread


On August 01, 2005 at 04:22:38, Fabien Letouzey wrote:

>
>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.


Thanks Fabien, I knew it I was missing something !

Now I tried with isready and it works like a charm :)

Regards,
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.