#game #snake #implemented

simple_snake_game

A simple Snake game implemented in Rust and WebAssembly

1 unstable release

0.1.0 Aug 10, 2024

#560 in WebAssembly

MIT license

115KB
209 lines

Snake

Thumbnail

Building

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_lib

Dependencies

~7.5–10MB
~182K SLoC