A Snake Game built with Rust and WebAssembly
Make sure you have Rust and wasm-pack installed.
To install wasm-pack on *nix systems:
$ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
Or follow the instructions here.
To build this project, run:
$ wasm-pack build --target web
To run this project, you need a static file server. You can install serve with npm:
$ npm install serve -g
Now, start your static file server and open index.html:
$ serve
