You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31c6c4858f | 11 months ago | |
---|---|---|
.cargo | 1 year ago | |
assets | 11 months ago | |
src | 11 months ago | |
.gitignore | 1 year ago | |
Cargo.lock | 1 year ago | |
Cargo.toml | 1 year ago | |
LICENSE | 12 months ago | |
README.MD | 1 year ago | |
minesweeper.html | 11 months ago | |
rustfmt.toml | 1 year ago |
README.MD
Rust Minesweeper
For more information, and a WASM powered demo: https://alexanderbass.com/show/2023/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.