Command xboard result

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Command xboard result

Postby Pedro Castro » 07 Sep 2007, 16:18

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
Best wishes,

Pedro Castro
User avatar
Pedro Castro
 
Posts: 180
Joined: 28 Jan 2005, 01:09
Location: Pays Basque (Spain)

Re: Command xboard result

Postby Guenther Simon » 07 Sep 2007, 19:22

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
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: Command xboard result

Postby bob » 07 Sep 2007, 21:25

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.
User avatar
bob
 
Posts: 156
Joined: 10 May 2006, 17:59


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: Google [Bot] and 6 guests