This is currently hosted at https://agoodlet.com/wasm/
Nothing really required here, just run the following
- cargo run this will compile and run an instance of this on your local machine
You will need to make sure that you have wasm added as a target for rust -
rustup target add wasm32-unknown-unknown
and you will need wasm-bindgen-cli -
cargo install wasm-bindgen-cli
then you can follow the instructions here to build -
- cargo build --release --target wasm32-unknown-unknown
- wasm-bindgen ./target/wasm32-unknown-unknown/release/rogulike.wasm --out-dir wasm --no-modules --no-typescript
- copy the contents of ./wasm to you websites root directory