diff --git a/Network-Protocol.md b/Network-Protocol.md index 46d5256..bc52861 100644 --- a/Network-Protocol.md +++ b/Network-Protocol.md @@ -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. \ No newline at end of file +* `CONCLUSION,METHOD,MOTIVE,MURDERER`: Notify the client that the flatscreen player has selected a conclusion.