icsdrone(ng), polyglot + uci program

Discussion of chess software programming and technical issues.

Moderator: Ras

flok

icsdrone(ng), polyglot + uci program

Post by flok »

Hi,

Anyone got an idea how to get the icsdroneng + polyglot combination to tell the (uci) program that it won or lost? Because it looks like it only sends a ucinewgame and that's it.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: icsdrone(ng), polyglot + uci program

Post by Evert »

There is no standard way to tell an UCI program the result of a game.
flok

Re: icsdrone(ng), polyglot + uci program

Post by flok »

Why not introduce a method for doing so?

Code: Select all

uciresult 1-0
uciresult 1/2-1/2
uciresult 0-1
uciresult 1-1
User avatar
hgm
Posts: 28457
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: icsdrone(ng), polyglot + uci program

Post by hgm »

If you want that kind of info, why not use a protocol that supports it, rather than resorting to non-standard methods that no other software would support?

Note that USI defines the command

gameover win|lose|draw

for this purpose, and that UCI2WB supports that. So if you want to make an adapter that translates the CECP 'result' command this way also in UCI, you would just have to remove the if-statement that limits it to USI mode fromUCI2WB.
Last edited by hgm on Fri Dec 16, 2016 10:01 am, edited 1 time in total.
flok

Re: icsdrone(ng), polyglot + uci program

Post by flok »

hgm wrote:If you want that kind of info, why not use a protocol that supports it, rather than resorting to non-standard methods that no other software would support?
That no other software supports YET.
Note that USI defines the command

gameover win|lose|draw

for this purpose.
Yes but usi (assuming that that is the xboard protocol?) is far more work to correctly implement.
User avatar
hgm
Posts: 28457
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: icsdrone(ng), polyglot + uci program

Post by hgm »

flok wrote:Yes but usi (assuming that that is the xboard protocol?) ...
XBoard protocol is CECP.

Note I was still editing my previous posting.
flok

Re: icsdrone(ng), polyglot + uci program

Post by flok »

Oh right, sorry.

What would be the path to get this into UCI?
I'll write an e-mail to the people that wrote uci.txt
flok

Re: icsdrone(ng), polyglot + uci program

Post by flok »

Ok I've implemented a patch for polyglot and sent that to the authors of polyglot. Let's see what happens.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: icsdrone(ng), polyglot + uci program

Post by Evert »

flok wrote:Oh right, sorry.

What would be the path to get this into UCI?
I'll write an e-mail to the people that wrote uci.txt
Good luck.
In the past, suggestions for adding missing functionality to UCI have been met with great hostility.
User avatar
hgm
Posts: 28457
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: icsdrone(ng), polyglot + uci program

Post by hgm »

UCI should be considered a dead protocol, that is set in stone.