This project has been inspired from wasm-tetris.
It is a copy of the structure of the game and write another one.
Necessary compiler target wasm32-unknown-unknown
(Rust nightly only)
$ rustup target add wasm32-unknown-unknown
$ cargo +nightly install cargo-web
Start a web dev server
$ cargo +nightly web start
$ cargo +nightly web build
- https://github.com/xuu/wasm-tetris/
- https://github.com/koute/cargo-web
- https://github.com/koute/stdweb
- https://developer.mozilla.org/en-US/docs/WebAssembly
MIT