GUI version of Minesweeper made with Rust and Macroquad
Go to file
Alexander Bass 86dfecb4b3 init
2023-04-22 18:10:47 -04:00
.cargo init 2023-04-22 18:10:47 -04:00
assets init 2023-04-22 18:10:47 -04:00
src init 2023-04-22 18:10:47 -04:00
.gitignore init 2023-04-22 18:10:47 -04:00
Cargo.lock init 2023-04-22 18:10:47 -04:00
Cargo.toml init 2023-04-22 18:10:47 -04:00
minesweeper.html init 2023-04-22 18:10:47 -04:00
README.MD init 2023-04-22 18:10:47 -04:00
rustfmt.toml init 2023-04-22 18:10:47 -04: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.