Michel wrote:I get immediately "White mates" when using chess0.
The relevant lines of xboard.debug seem to be
- Code: Select all
790 <second: White (1):
GameEnds(37, White mates, 6)
The string "White (1)" seems to be interpreted by xboard as a mate claim.
This is on xboard 4.4.0 beta. Perhaps this issues has been fixed in more recent versions....
Indeed, WinBoard recognizes many such non-compliant commands, as a legacy of a policy to cater to non-compliant engines. Personally I think this is bad policy, but I guess in the early days engines were few and far in between. Nevertheless, kicking all that cr*p out is an almost certain invitation for a lynching mob that is angry their favorite old-timer engine is now broken with WinBoard...
I guess here the incompliancy was by mistake (forgetting an engine command-line argument), but in general it is pointless to try to fix things like this: it would just be favoring one form of non-compliancy over another. Officially the result of sending anything that is not in the specs is _undefined_. So if some GUI implementation takes it as a resign message, it is no fault of the GUI, and the solution is not to send it!