Skip to content

KappaDistributive/rs2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs2048

rs2048 interface

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.