Update README.MD

This commit is contained in:
Alexander Bass 2023-05-15 23:35:41 -04:00
parent 86dfecb4b3
commit ce450e9880

View file

@ -1,6 +1,6 @@
# Rust Minesweeper # Rust Minesweeper
For more information, and a WASM powered demo: [https://alexanderbass.com/show/2023/rust-minesweeper/](https://alexanderbass.com/show/2023/rust-minesweeper/)
# Running # Running
To run the desktop version: To run the desktop version:
@ -12,4 +12,6 @@ To compile to WASM:
``` ```
cargo build --target wasm32-unknown-unknown --release cargo build --target wasm32-unknown-unknown --release
``` ```
To run that WASM, copy the resulting `target/wasm32-unknown-unknown/release/wasm` into the same directory as `minesweeper.html` and serve both files through a webserver. To run that WASM, copy the resulting `target/wasm32-unknown-unknown/release/wasm` into the same directory as `minesweeper.html` and serve both files through a webserver.