Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgpaiva/minesweeper
Minesweeper built with rust, yew and web assembly
https://github.com/jgpaiva/minesweeper
Last synced: 3 months ago
JSON representation
Minesweeper built with rust, yew and web assembly
- Host: GitHub
- URL: https://github.com/jgpaiva/minesweeper
- Owner: jgpaiva
- License: mit
- Created: 2020-03-07T18:08:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T00:46:53.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T11:06:38.576Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 4.27 MB
- Stars: 33
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-yew - Minesweeper - Minesweeper built with Rust, Yew and WebAssembly. (Projects)
- awesome-starred - jgpaiva/minesweeper - Minesweeper built with rust, yew and web assembly (others)
README
# Minesweeper in the browser
This project is a minesweeper built with [rust](https://www.rust-lang.org/), [wasm](https://webassembly.org/) and [yew](https://yew.rs/). It started with the goal of becoming a complete solver for minesweeper in the CLI, but ended up becoming a complete game + basic solver library with a browser and a CLI frontend.
## Demo
You can play the WASM version online [here](https://jgpaiva.github.io/minesweeper/).
## How to run localy
After installing rust and cargo, run `wasm-pack build --dev --target web`. After
this, start a server on the local folder (e.g. `python3 -m http.server`) and
check it out on your favourite browser.## Example output
![demo output](imgs/demo.png)