Build and run the native game with Cargo:
cargo run --releaseThe repository toolchain already includes the wasm32-unknown-unknown target.
Build the browser package with:
./build.shThe script reads the matching wasm-bindgen version from Cargo.lock, installs
that CLI under target/wasm-tools, and emits an ES-module package in wasm/pkg.
Serve the output over HTTP rather than opening the HTML file directly:
python3 -m http.server --directory wasmThen open http://localhost:8000. Browser saves are stored in localStorage;
native saves remain in savegame.json.