PROTOCOL.md

changeset 184
93c81539b702
parent 183
39aa77b7188b
--- a/PROTOCOL.md	Sun Aug 23 11:38:27 2026 +0200
+++ b/PROTOCOL.md	Sun Aug 23 12:19:05 2026 +0200
@@ -97,8 +97,12 @@
 
 When the server wants to continue a game, they SHALL send a `NETCODE_PGNDATA`
 message. The payload of this message is as follows:
-* the same two BYTES and three WORDS as in `NETCODE_GAMEINFO`, followed by
-* 
+* the same two BYTEs and three WORDs as in `NETCODE_GAMEINFO`, followed by
+* one WORD for the number `n` of moves that will follow
+* the `n` MOVEs that have been played already
+
+The server SHOULD NOT send a game that cannot be continued because it already
+has reached a checkmate, stalemate, or forced draw position.
 
 ### Clock Setup
 
@@ -110,6 +114,10 @@
 * when the used time for a move is less than the delay, the move costs no time
 * the delay is always subtracted from the actual move time
 
+## Playing the Game
+
+TODO: describe
+
 ## Message Code Table
 
 The following table shows the definitions of the network codes.

mercurial