This is a port of Hunter X's pico-8 version of Zachtronic's Shenzhen Solitaire.
Use z, x, and the arrow keys to play. If you win, you can press Enter to deal another game.
-
Install newest nightly Rust:
$ curl https://sh.rustup.rs -sSf | sh
-
Install WebAssembly target:
$ rustup target add wasm32-unknown-unknown
-
Install cargo-web:
$ cargo install -f cargo-web
-
Build it:
$ cargo web start --target wasm32-unknown-unknown --release
-
Visit
http://localhost:8000
with your browser.
Replace --target-webasm
with --target wasm32-unknown-emscripten
or --target asmjs-unknown-emscripten
if you want to build it using another backend. You will also have to install the
corresponding targets with rustup
- wasm32-unknown-emscripten
and asmjs-unknown-emscripten
respectively.
licensed under Apache, MIT and CC BY-NC-SA 4.0.