An example implementation of a Snake game in Rust targeting WASM.
This implementation is a bit different from the original one (see: Credits), as it uses wasm-bindgen and js-sys / web-sys instead of stdweb.
note: work in progerss as some bugs are appearing while running it.
Have NodeJs and wasm-pack installed first, then do the following:
wasm-pack build
cd www
npm install
npm start
Game play - use the arrow keys...
Original author's repo(code, and video tutorial, etc.)