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.
icsdrone(ng), polyglot + uci program
Moderator: Ras
-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: icsdrone(ng), polyglot + uci program
There is no standard way to tell an UCI program the result of a game.
-
flok
Re: icsdrone(ng), polyglot + uci program
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
-
hgm
- Posts: 28457
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsdrone(ng), polyglot + uci program
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.
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
That no other software supports YET.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?
Yes but usi (assuming that that is the xboard protocol?) is far more work to correctly implement.Note that USI defines the command
gameover win|lose|draw
for this purpose.
-
hgm
- Posts: 28457
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsdrone(ng), polyglot + uci program
XBoard protocol is CECP.flok wrote:Yes but usi (assuming that that is the xboard protocol?) ...
Note I was still editing my previous posting.
-
flok
Re: icsdrone(ng), polyglot + uci program
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
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
Ok I've implemented a patch for polyglot and sent that to the authors of polyglot. Let's see what happens.
-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: icsdrone(ng), polyglot + uci program
Good luck.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
In the past, suggestions for adding missing functionality to UCI have been met with great hostility.
-
hgm
- Posts: 28457
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsdrone(ng), polyglot + uci program
UCI should be considered a dead protocol, that is set in stone.