You can play at https://agustinramirodiaz.github.io/snake_bevy/
About the game:
- Similar to snake
- Eat the apple to grow
- Hitting yourself or others will shrink you
- 1-4 players
Requires Rust and Cargo to be installed.
cargo run
You can also use trunk to run the game on web. This will automatically reload the game when you make changes.
cargo install trunk
trunk serve
Issues, feature requests and pull requests are welcome!
Do whatever you want with this code
- fix deployment https://trunkrs.dev/advanced/
-
Add pause/play
-
Hanle gamepads
-
Configurable keybindings
-
Add sprites for
- snake head
- snake body
- apple
-
Add a win condition
-
Add some basic AI
- power ups
- speed up
- slow down others
- invincible for a short time
- shield
- different maps
- wrap around
- walls
- obstacles
- different game modes
- by win condition
- hold first position for an amount of time
- reach X length first
- reach X difference in length to the second player
- by game rules
- no walls
- no obstacles
- power up configuration
- by win condition
I've been able to build for web with this guide too, but I didn't publish it like this since there wasn't any difference with the trunk version.