From 129b49a3876ceb68f271c311d5e45efb2e205300 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 9 Nov 2024 16:32:09 +0200 Subject: Made & implemented clearer protocol, added client functionality --- protocol.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 protocol.txt (limited to 'protocol.txt') diff --git a/protocol.txt b/protocol.txt new file mode 100644 index 0000000..15cc75c --- /dev/null +++ b/protocol.txt @@ -0,0 +1,15 @@ +Client: [version number]CRLF[client name|] +Server: [good/version old] +... +Server: [time limit in int/secs]CRLF # signifies game start + +Before turn: +N x [Description of action during previous turn]CRLF +At start of turn: +Server: [turn indicator]CRLF + [Description of area]CRLF + [Directions separated with semicolon]CRLF + [Visible items separated with semicolon]CRLF + [Entities separated with semicolon]CRLF + +When running turn: [CRLF-separated list of things happening in the players room] -- cgit v1.2.3