My wish list for cutechess-cli

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: My wish list for cutechess-cli

Post by F. Bluemers »

hgm wrote:I think it would be useful to add that option. (Which is why I did it in WinBoard. :wink: )

For UCI engines you could apply the rule that giving a bestmove 0000 together with a 0 cp score will be taken as a draw claim. (I mean: what else could you possibly want the interface to do if it receives that input? You might as well use it for this purpose.)
One could also use the info string command to send a specific string for this purpose ("info string force draw" ??).
I used "info string DrawOffer" in polyglot so that uci engines could offer draws just like wb engines.
User avatar
hgm
Posts: 27701
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: My wish list for cutechess-cli

Post by hgm »

Well, for draw offers this would indeed be the best solution.

But for hard claims and resigns I think using null move is preferable, because GUIs not supporting the extension cannot ignore it, as they would when you encode it in an info string.