summaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.md')
-rw-r--r--protocol.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocol.md b/protocol.md
index bfb4ece8..28626200 100644
--- a/protocol.md
+++ b/protocol.md
@@ -20,10 +20,10 @@
The protocol schema is defined in [`protocol.ts`](./test-client/protocol.ts)
-1. Connect to the server via TCP (on port 27031) or WebSocket (on port 27032)
- and send/receive json on individual lines / text messages.
-2. Send the join packet with your username.
-3. Wait for `init` packet.
+1. Connect to the server via ~~TCP (on port 27031) or~~ WebSocket (on
+ port 27032) and send/receive json on individual lines / text messages.
+2. Wait for `init` packet.
+3. Send the join packet with your username.
4. The server will send the current game state:
- `data` once for setting important look-up tables
- `update_map` for every tile