aboutsummaryrefslogtreecommitdiff
path: root/protocol.txt
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-17 17:06:56 +0200
committerJoel Kronqvist <joel.kronqvist@iki.fi>2024-11-17 17:06:56 +0200
commitc954ca4d1ec677a34a6d787a23f9d01396f7e585 (patch)
treec6b00b5046bde3a98c18f9557198f852b4ce9d46 /protocol.txt
parenta6b0330c845d4edad87c7059bac56e194a276c6f (diff)
downloadscalevalapokalypsi-c954ca4d1ec677a34a6d787a23f9d01396f7e585.tar.gz
scalevalapokalypsi-c954ca4d1ec677a34a6d787a23f9d01396f7e585.zip
Template for singing, WIP.
* The line to sing is always the same. * The client recovers weirdly from singing before the next turn and my brain is currently too fried to figure out why
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/protocol.txt b/protocol.txt
new file mode 100644
index 0000000..f38e778
--- /dev/null
+++ b/protocol.txt
@@ -0,0 +1,18 @@
+Client: [version number]CRLF[client name|]
+Server: [good/version old]
+...
+Server: [time limit in int/secs]CRLF # signifies game start
+ [instantly gives turn info]
+
+Before turn:
+[Action blocking|nonblocking|sing indicator]
+ if action indicator => [Description of action during turn]CRLF
+ if sing indicator => [Line to sing]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]