H.G.Muller wrote:Why not simply relay the illegal move? WinBoard would then forfeit the engine, giving the proper reason in the PGN? By substituting "resign" you would hide the true reason for the user.
Well one could do it that way,or forfeit with {Polyglot: Illegal engine move [White|Black] }.
To me there seems to be no big difference.
It would be even better if Polyglot would also play the illegal move on its internal board, so that when the GUI and opponent do not reject it, it could simply play on. That would make it, for instance, more Shatranj friendly. If the GUI can play with legality-testing off, Polyglot should not try to frustrate that. It is only meant as an adapter. Not to outsmart (= obstruct...) the GUI.
Clearly,polyglot is restricted to chess now.I don't have any plans for Shatranj
I wonder if there will be many complaints about polyglot frustrating gui legality-testing features