aboutsummaryrefslogtreecommitdiff
path: root/protocol.txt
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-09 16:32:09 +0200
committerJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-09 16:32:09 +0200
commit129b49a3876ceb68f271c311d5e45efb2e205300 (patch)
tree246a47a5990167c73b95fc6e02452de7f6aca6b3 /protocol.txt
parent239571e3408a3187953bef1dd5d516461bad0e31 (diff)
downloadscalevalapokalypsi-129b49a3876ceb68f271c311d5e45efb2e205300.tar.gz
scalevalapokalypsi-129b49a3876ceb68f271c311d5e45efb2e205300.zip
Made & implemented clearer protocol, added client functionality
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt15
1 files changed, 15 insertions, 0 deletions
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]