Hub protocol

Discussion about development of draughts in the time of computer and Internet.
Post Reply
gwiesenekker
Posts: 61
Joined: Sun Feb 20, 2011 21:04
Real name: Gijsbert Wiesenekker

Hub protocol

Post by gwiesenekker »

Hi,

In hub mode I send GWD the starting position and all moves played in the game until now as part of the 'pos' command, but Kingsrow starts to ignore the last played move around move 60, perhaps the string gets too long? In Scan's protocol.txt I read 'Hub only sends king moves, as they are usually reversible.' which suggests I should start sending positions after the last non-reversible move, but you could also have 60 king moves.
What are other engines sending?

Regards,
GW
gwiesenekker
Posts: 61
Joined: Sun Feb 20, 2011 21:04
Real name: Gijsbert Wiesenekker

Re: Hub protocol

Post by gwiesenekker »

Hi,

I found the root cause. My 'International Draughts GUI' was sending a 'K' after a promotion. GWD didn't care but Kingsrow does.

Regards,
GW
Ed Gilbert
Posts: 869
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Hub protocol

Post by Ed Gilbert »

gwiesenekker wrote: Thu May 28, 2026 02:16 I found the root cause. My 'International Draughts GUI' was sending a 'K' after a promotion. GWD didn't care but Kingsrow does.
Ah good. I was almost finished typing a rather long response when I saw that you found the problem.

In general I think you should only send the most recent moves starting at the last non-reversible move. The engine doesn't need to see the entire game history every time. I guess it might make a slight difference in super-fast TC games if the game is a very long one.

-- Ed
Post Reply