Possible protocol issue

Possible protocol issue

Postby joejonsme » Tue May 29, 2018 9:39 am

Hello,

My engine tries to keep track of which side it is playing (White or Black). But I have disabled the color commands (colors=0). Now there is an ambiguity. There was a recent server game where the opponent disconnected then resumed. When it resumed, xboard (4.7.3) sends "new" and "name", goes into force mode, then sends the moves. But the opponent lost on time before it could play another move, so the next command was "result 1-0 {<opponent> forfeits on time}". Now, who lost the game? "name" doesn't tell you who is playing White, and the move list just ends w/o indicating who had the next move. I guess if you get "result" before "go" you can assume the other side lost, but that is pretty kludgy. Or you can parse the ICC comment for the opponent name, but different servers may send different comments.

Please help.

I didn't find the right solution from the Internet.

References:-
http://www.open-aurec.com/wbforum/viewt ... 19&t=53263
infographic design quote

Thanks
joejonsme
 
Posts: 5
Joined: Mon May 07, 2018 9:57 am

Return to Protocols & Techniques

Who is online

Users browsing this forum: No registered users and 1 guest

cron