aboutsummaryrefslogtreecommitdiff
path: root/readme.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 /readme.md
parentce70568ab5b62814be4fbfa406a4eb81d4e8643e (diff)
downloadhurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar
hurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar.bz2
hurrycurry-323c6f56d9046d4cba9b7790deb13a6986fdae66.tar.zst
add requirements to readme and update protocol
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index ed792738..e153ae74 100644
--- a/readme.md
+++ b/readme.md
@@ -2,10 +2,18 @@
A cooperative multiplayer game about cooking.
+The protocol is documented in [protocol.md](protocol.md).
+
+If you happen to be using pacman you can add or manually download pre-built
+packages https://pkg.metamuffin.org/. These also include documentation and a
+systemd service.
+
## Client
### Building
+- Requirements:
+ - Godot 4.2
- `make client-assets`
- `cd client`
- Import all assets: `godot --import .`
@@ -18,17 +26,25 @@ A cooperative multiplayer game about cooking.
### Building
+- Requirements:
+ - Nightly rust toolchain
+ - Deno
- Build game data: `make -C data`
-- Build the server program: `cargo build --release`
+- Build the server program: `cargo +nightly build --release`
### Usage
+- Ensure the `data` directory is available **in** either the process working
+ directory of the server or /usr/share/hurrycurry (or similar). Running the
+ server in the source folder should work.
- Run the server: `./target/release/hurrycurry-server`
## Test Client
### Building
+- Requirements: `esbuild`
+
- Compile typescript:
`esbuild test-client/main.ts --bundle --outdir=test-client --target=esnext --format=esm`