An experiment in WebAssembly game development.
Install Rust via rustup, and then install wasm-pack:
cargo install wasm-pack
Clone this repo and build the Rust dependencies:
make rs
Start the dev server:
make
The dev server will rebuild and restart the game if it detects changes to the src/
and rs/
directories.
rs
: a Rust project targeting WASM for the browser.src
: TypeScript for both browser and server.gen
: auto-generated filesrs
: JS/WASM artifacts generated by building thers
project.