A simple snake game, inspired by google snake. Adds multiplayer and GUNS!!
Web demo: https://bink.eu.org/snake/
Just clone the repo and run:
cargo run --release
Hopefully it'll work ¯\_(ツ)_/¯
Install wasm-bindgen and run:
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen --no-typescript --out-name bevy-snake \
--out-dir web \
--target web target/wasm32-unknown-unknown/release/bevy-snake.wasm
You'll then need to add a html
file to load the generated wasm
and js
. Something like this.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.