aboutsummaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-09 10:53:11 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-09 10:53:11 +0200
commit323c6f56d9046d4cba9b7790deb13a6986fdae66 (patch)
treeec8fd6878d173213294c3623503ad9ac964bfca5 /protocol.md
parentce70568ab5b62814be4fbfa406a4eb81d4e8643e (diff)
downloadhurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar
hurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar.bz2
hurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar.zst
add requirements to readme and update protocol
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