Skip to content

Ryan1729/bytecode-logo-graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stack-based WASM Shenzhen solitaire

This is a fork of another repo of mine which is being made largely on a lark.

What follows is the README for the repo linked above.

Stack-based WASM Shenzhen solitaire

This is a fork of my own non-stack-based version of the same game. You are most likely to be more interested in the other one since this one exists just for my own practice at expressing solitaire games in a stack-based style since I plan to do so in another project.

What follows is the README for the version linked above, so the playable version link is for that version. Note though the licensing that the license applies to both versions.

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

Messign around with interpreting bytes as drawing instructions

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