2048 in Rust
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
static
.gitignore
Cargo.toml
LICENSE
README.md

README.md

rs2048

A clone of 2048 written in Rust. Use the arrow keys to move and R to reset.

This is work in progress but if you want to jump right in, take a look at this demo.

Running the application

  1. Install cargo-web using cargo as
cargo install -f cargo-web
  1. Compile to WebAssembly using Rust's native WebAssembly backend:
cargo web start --target=wasm32-unknown-unknown
  1. Visit http://localhost:8000 with your browser to view the application.

For more information, see the Github repository and documentation of stdweb.