A simple Snake game implemented in Rust and WebAssembly.
Here is the a reusable library that you can incorporate into your projects. Link
Make sure you have Rust installed and wasm-pack. 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
Snake game reusable library that you can incorporate into your projects.