UCI tournament question

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
RedBedHed
Posts: 84
Joined: Wed Aug 04, 2021 12:42 am
Full name: Ellie Moore

UCI tournament question

Post by RedBedHed »

Hey there!

I am trying to configure my engine to play tournaments in cutechess. I can't find any documentation on which UCI commands are issued during tournament play. I have implemented ucinewgame. However, my engine can only play the tournament's first game; the remaining games occur almost instantaneously and are treated as losses.

Any help would be very much appreciated!
>> Move Generator: Charon
>> Engine: Homura
void life() { playCapitalism(); return; live(); }
AndrewGrant
Posts: 1955
Joined: Tue Apr 19, 2016 6:08 am
Location: U.S.A
Full name: Andrew Grant

Re: UCI tournament question

Post by AndrewGrant »

Pass the optional flag -debug to cutechess in order to see what commands it is sending.
I would think cutechess only sends ucinewgame between games, and nothing else. Assuming you have not passed the -restart flag, but you can confirm this easily enough.
User avatar
RedBedHed
Posts: 84
Joined: Wed Aug 04, 2021 12:42 am
Full name: Ellie Moore

Re: UCI tournament question

Post by RedBedHed »

AndrewGrant wrote: Mon Dec 12, 2022 10:59 pm Pass the optional flag -debug to cutechess in order to see what commands it is sending.
I would think cutechess only sends ucinewgame between games, and nothing else. Assuming you have not passed the -restart flag, but you can confirm this easily enough.
Ah, okay. Thank you for this info!
>> Move Generator: Charon
>> Engine: Homura
void life() { playCapitalism(); return; live(); }
User avatar
RedBedHed
Posts: 84
Joined: Wed Aug 04, 2021 12:42 am
Full name: Ellie Moore

Re: UCI tournament question

Post by RedBedHed »

I figured it out, lol. I was giving the tournament 0 seconds between rounds. With 1 second of delay between rounds, everything is working perfectly. :)
>> Move Generator: Charon
>> Engine: Homura
void life() { playCapitalism(); return; live(); }
Witek
Posts: 87
Joined: Thu Oct 07, 2021 12:48 am
Location: Warsaw, Poland
Full name: Michal Witanowski

Re: UCI tournament question

Post by Witek »

Well, that doesn't fix the problem. It should work with 0 seconds between rounds...
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa