Minesweeper-rs/README.MD

15 lines
330 B
Plaintext
Raw Normal View History

2023-04-22 22:10:47 +00:00
# Rust Minesweeper
# Running
To run the desktop version:
```
cargo run
```
To compile to WASM:
```
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.