Crates.io | simple_snake_game |
lib.rs | simple_snake_game |
version | 0.1.0 |
source | src |
created_at | 2024-08-10 06:55:31.627119 |
updated_at | 2024-08-10 06:55:31.627119 |
description | A simple Snake game implemented in Rust and WebAssembly |
homepage | |
repository | https://github.com/kenkomu/snake_lib |
max_upload_size | |
id | 1332060 |
size | 126,326 |
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