From 323c6f56d9046d4cba9b7790deb13a6986fdae66 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 9 Jul 2024 10:53:11 +0200 Subject: add requirements to readme and update protocol --- protocol.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocol.md') 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 -- cgit v1.2.3-70-g09d2