Page 1 of 1

Command xboard result

PostPosted: 07 Sep 2007, 16:18
by Pedro Castro
When your engine detects that the game has ended by rule, your engine must output a line of the form "RESULT {comment}"

xboard relays the result to the user, the ICS, the other engine in Two Machines mode, and the PGN save file as required.

That happens if the result that engine sends to xboard is not correct?

xboard rejects it or it relays the result incorrect to the another engine?

Thanks

Re: Command xboard result

PostPosted: 07 Sep 2007, 19:22
by Guenther Simon
Pedro Castro wrote:When your engine detects that the game has ended by rule, your engine must output a line of the form "RESULT {comment}"

xboard relays the result to the user, the ICS, the other engine in Two Machines mode, and the PGN save file as required.

That happens if the result that engine sends to xboard is not correct?

xboard rejects it or it relays the result incorrect to the another engine?

Thanks



Hi Pedro,

The incorrect wrong result will be sent to the other engine, because
WB has no chance to know it is incorrect(except for mates on board already).
There were several cases of wrong result claims from certain
programs in the WB history. (Of course they had been fixed later, except some
which still do wrong draw claims for different reasons)

Regards,
Guenther

Re: Command xboard result

PostPosted: 07 Sep 2007, 21:25
by bob
Pedro Castro wrote:When your engine detects that the game has ended by rule, your engine must output a line of the form "RESULT {comment}"

xboard relays the result to the user, the ICS, the other engine in Two Machines mode, and the PGN save file as required.

That happens if the result that engine sends to xboard is not correct?

xboard rejects it or it relays the result incorrect to the another engine?

Thanks


This was a problem in my cluster testing when I first wrote my xboard replacement program. Arasan 9 was reporting the result wrong in a large number of cases, and if it reported the result before Crafty did, my referee was taking it as the correct answer. I have since modified my referee program to only trust Crafty, so solve this particular problem. with xboard, you have exactly the same problem.