--- a/PROTOCOL.md Mon Aug 24 13:20:19 2026 +0200 +++ b/PROTOCOL.md Mon Aug 24 13:42:35 2026 +0200 @@ -39,6 +39,9 @@ * a BYTE index for the row the piece was moved from * a BYTE index for the file the piece was moved to * a BYTE index for the row the piece was moved to + * a BYTE set to 1 if this is a capturing move and to zero if it is not + * a BYTE set to 1 if this move gives check, 2 if it gives checkmate, and + zero otherwise * a BYTE describing the selected piece for promotion (otherwise zero) Note carefully that the byte order used by this protocol is little-endian while @@ -116,7 +119,17 @@ ## Playing the Game -TODO: describe +The game is played by exchanging moves. +We call the player supposed to make the next move the _active_ player. +The other player we call the _waiting_ player. + +### Make a Move + +### Resign + +### Offer or Claim a Draw + +### Propose Resignation ## Message Code Table