updated network protocol documentation

Sara Gerretsen 2025-10-09 21:58:21 +02:00
parent ff46b7f51d
commit 489ea37024

@ -20,13 +20,13 @@
## Connection Messages
* `ACK`: acknowledge `CONNECT,CODE` command has the correct 4-digit code.
* `NAK,REASON`: refuse to acknowledge `CONNECT,CODE` command, sends along an error code that explains why.
* `NAK,Code`: Code was wrong.
* `NAK,Full`: A VR player is already connected.
* `HEART`: check connection activity, expects `BEAT` within `TBD` seconds.
* `OK,MESSAGE...`: acknowledge `COMMAND` command was valid and has been handled.
* `NOK,REASON,MESSAGE...`: refuse to acknowledge `CONNECT,CODE` command, sends along an error code that explains why.
* `NOK,UNAUTHORIZED_REQUEST`: No complete `CONNECT,CODE`->`OK,CONNECT,CODE` loop has been completed for this identity.
* `NOK,UNKNOWN_COMMAND`: Message type invalid.
* `HEART`: check connection activity, expects `BEAT` within 3s.
## Gameplay Messages
* `BEGIN`: Notify the client that the game has started.
* `CONCLUSION,METHOD,MOTIVE,MURDERER`: Notify the client that the flatscreen player has selected a conclusion.
* `CONCLUSION,METHOD,MOTIVE,MURDERER`: Notify the client that the flatscreen player has selected a conclusion.