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.
- Install
cargo-web
usingcargo
as
cargo install -f cargo-web
- Compile to WebAssembly using Rust's native WebAssembly backend:
cargo web start --target=wasm32-unknown-unknown
- Visit
http://localhost:8000
with your browser to view the application.
For more information, see the Github repository and documentation of stdweb.