From c954ca4d1ec677a34a6d787a23f9d01396f7e585 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 17 Nov 2024 17:06:56 +0200 Subject: 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 --- protocol.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 protocol.txt (limited to 'protocol.txt') 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] -- cgit v1.2.3