#snake #game #implemented #thumbnail

simple_snake_game

A simple Snake game implemented in Rust and WebAssembly

1 unstable release

0.1.0 Aug 10, 2024

#374 in WebAssembly

Download history 63/week @ 2024-08-04 42/week @ 2024-08-11 3/week @ 2024-08-18

108 downloads per month

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–9.5MB
~176K SLoC