Skip to content

A WASM version of a PICO-8 version of Shenzhen solitaire

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt
Notifications You must be signed in to change notification settings

Ryan1729/wasm_shenzhen_solitaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM Shenzhen solitaire

This is a port of Hunter X's pico-8 version of Zachtronic's Shenzhen Solitaire.

Playable version

Right here.

Use z, x, and the arrow keys to play. If you win, you can press Enter to deal another game.

Building (using Rust's native WebAssembly backend)

  1. Install newest nightly Rust:

    $ curl https://sh.rustup.rs -sSf | sh
    
  2. Install WebAssembly target:

    $ rustup target add wasm32-unknown-unknown
    
  3. Install cargo-web:

    $ cargo install -f cargo-web
    
  4. Build it:

    $ cargo web start --target wasm32-unknown-unknown --release
    
  5. Visit http://localhost:8000 with your browser.

Building for other backends

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.

About

A WASM version of a PICO-8 version of Shenzhen solitaire

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published