Ganitzsh / snake

Just a snake game in Rust using the Bevy engine

Home Page:https://ganitzsh.github.io/snake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake (kinda)

Recording of the game

A simple snake-like "game" using Bevy.

This is part of my journey of learning Rust, trying to get the basics right. I'm also following a very good book, Rust in Action, which elaborates on advanced concepts and things about the language.

How to run it?

If your environment is setup for rust:

cargo run

Otherwise, you can play on your browser here.

Rules

  • Eat the food
  • You cannot loose (yet)

Every time you eat, the speed increases. It is possible to eat yourself, which will result in losing the segments of the body that were below the eaten parts and slow down accordingly.

Controls

  • Left arrow: rotates the head counter clockwise
  • Right arrow: rotates the head clockwise

Things I might add

  • A way to loose (poisonous food, enemies of some sort, not sure yet)
  • Some nice sounds
  • Display of the score

About

Just a snake game in Rust using the Bevy engine

https://ganitzsh.github.io/snake


Languages

Language:Rust 100.0%