Question about Polyglot move handling

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Question about Polyglot move handling

Postby vladstamate » 03 Aug 2009, 21:15

Hi all,

I am hoping someone can answer this. I am trying to answer the question myself but somehow I am having some weird troubles running polyglot on my machine with the setup that I need. While I work on fixing them I am going to ask here.

When a promotion to a Queen move sent by my engine looks like this: "bestmove h7h8" Polyglot seems to ignore it. Does Polyglot expect instead one of the following:

"bestmove h7h8q"
"bestmove h7h8Q"
"bestmove h7h8=q"
"bestmove h7h8=Q"

Or is it happy with the one I send and assumes if nothing is being specified then a promotion to Queen should happen? My experience (during Olivier's OpenWar6 tournament) is that it totally ignores my move.

I would not fault Polyglot for expecting one of the options above, but I would like to know if that is the case. Arena accepts my move just fine, without the queen specifier.

Thank you,
Vlad.
vladstamate
 
Posts: 29
Joined: 28 Jun 2009, 23:10

Re: Question about Polyglot move handling

Postby Michel » 03 Aug 2009, 21:26

The UCI "specification" here

http://wbec-ridderkerk.nl/html/UCIProtocol.html

seems to suggest that the proper notation is h7h8q

PG accepts both h7h8q and h7h8Q.

If you set

PromoteWorkAround=true

in polyglot.ini then it also accepts h7h8.
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: Question about Polyglot move handling

Postby vladstamate » 03 Aug 2009, 21:36

Thank you Michel,

It seems you are right indeed. I've done some research using some popular UCI engines and it looks like the promote-to piece is always reported (even when it is a Queen).

Thanks,
Vlad.
vladstamate
 
Posts: 29
Joined: 28 Jun 2009, 23:10


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 26 guests