Moderator: Andres Valverde
Michel wrote:BTW the option windows looks fine in winboard.exe under wine (as does the whole winboard).
It would be perhaps more natural is the PG options and the engine options appeared under different tabs. In that way
you could also strip the "Polyglot" from the name of the PG options gaining a lot of space in this way.
I want to continue my appeal to you for implementing a 'Polygot Save' option, which would save all option settings on a polyglot.ini file. (And perhaps make the name of this file accessible through a 'Polyglot IniFile' -file option that would have the actually used polyglot.ini as default setting.)
7451.908 Engine->Adapter: info string No Mate in 4 found ! (00:00)
7451.908 Engine->Adapter: bestmove
parse_bestmove(): missing argument
7451.908 POLYGLOT *** QUIT ***
7451.908 Adapter->Engine: quit
7451.908 POLYGLOT Closing engine
7451.908 Adapter->Engine: EOF
7451.958 Engine->Adapter: EOF
7451.960 POLYGLOT Calling exit
Michel wrote:Well sending an empty bestmove appears to be not legal UCI syntax.
It is apparently legal to send a "null move" to the gui (bestmove 0000). PG currently does not accept this
though (it is not clear to me if "null move" has its standard meaning here).
How do other engines deal with this? I tried rybka but it ignores the "go mate 2" command.
What should PG report to the GUI in case of an empty bestmove?
I Know - all protocols (UCI and WB) seem just to have overlooked that a matesolver can't always provide a solution!
F. Bluemers wrote:Correct,an engine can only play moves under UCI.
It can't even resign.
normally that would have been a solution for your problem
But since I'm not familar with the WB protocol, I can't say how this could be done best in the Polyglot/Winboard combination.
F.Huber wrote:F. Bluemers wrote:Correct,an engine can only play moves under UCI.
It can't even resign.
normally that would have been a solution for your problem
Well, ChestUCI would never resign - at most it would offer a draw!
Regards,
Franz.
Michel wrote:As far as I can tell the WB protocol does not have a provision for mate problems. So in principle the problem cannot even appear...
F. Bluemers wrote:F.Huber wrote:Well, ChestUCI would never resign - at most it would offer a draw!
also not possible under uci
F.Huber wrote:F. Bluemers wrote:F.Huber wrote:Well, ChestUCI would never resign - at most it would offer a draw!
also not possible under uci
Well, but Michel and you could make it possible under Polyglot (e.g. when getting
"bestmove " from the engine) ...
Michel wrote:Actually why not returning an arbitrary valid move with a score of 0.00? That's a clear indication that there is no mate.
However as far as I can tell it is impossible in the WB protocol to tell the engine that it has to analyze a position
as a mate problem. So the problem cannot arise without an extension of the WB protocol.
F. Bluemers wrote:I wonder how it should handle it?
what if a problemsolver should find a draw but fails?
shouldn't it resign anyway?
F.Huber wrote:Michel wrote:As far as I can tell the WB protocol does not have a provision for mate problems. So in principle the problem cannot even appear...
Maybe Fonzy's idea won't be that bad at all!?
Polyglot could send a "draw offer" to Winboard, if it gets an empty "bestmove " from ChestUCI ...
(this would certainly be no problem with any other engine, because no other engine would ever return a "bestmove " alone)
access to winboard draw/drawoffer and resign,at engine level:
1:to activate draw offers the engine has
to define the "UCI_DrawOffers" parameter with the 'option" command at startup.
2:to offer a draw or accept a draw offer:just send "info string DrawOffer" to polyglot.
3:if winboard sends "draw" polyglot sends "setoption DrawOffer draw" to the engine.
4.to resign: send "info string Resign" to polyglot.
please check the winboard documentation for the draw/drawoffer and resign commands.
Return to Winboard and related Topics
Users browsing this forum: No registered users and 27 guests