Geschrieben von: / Posted by: Dieter Bürßner at 10 June 2000 13:53:34:
I do have some problems with the winboard protocol.
Sometimes, Crafty 17.10 and Yace get out of sync after Crafty
lost a game. Until now, I deal with the commands received by
winboard in a strong serializing manner. But that doesn't seem
to be enough. When crafty resigns, it gives a move and then resigns.
I receive the move and answer with my move. Then I receive the
result command (which I ignore) and then the setup commands
for the new game. Crafty receives my answer move, after
it has already setup it's new game. So, they sometimes get out of
sync. I append two examples in the debug log, in one the programs
get in sync again, in the other they don't. If you find this post
too long, you may want to look at the bottom and at my question
at the top.
If crafty would just resign, without giving a move back,
no problems would arise.
So, my question: any suggestions, how to deal with this situation?
And a very stupid question as well. Crafty says result 1/2-1/2
{Draw by 3-fold repetition} after it made a move. Somehow I
had the feeling, that you have to say this, when it's your
turn, and not when you just moved.
Stay tuned for the next version, which has a positive score
here against a downgraded crafty (without endgame tables and
learning) at G/60.
Best wishes,
Dieter
(The more interesting example is at the bottom.)
Commented snippets of winboard debug log, crafty is first:
9030410 second: time 135495
otim 76000
[I receive Crafty's move, which I "handle"]
9030410 >second: e4d3
9030580 second: result 1-0 {Black resigns}
9030580 >first : force
9030580 >second: force
[My posting]
9030580 second: log black.log
new [...]
9040630 >first : black
9040630 >first : time 360000
otim 360000
9040630 >first : white
9040630 >first : go
[..., Crafty sends the first move]
9041510 second: time 360000
otim 360000
9041510 >second: f2f4
9041510 >second: black
9041510 >second: go
[I am still thinking about an answer for the move in the last game]
9058370 first : b5a5
9060570 first : black
15419840 >first : go
15419900