SLMT / Rust Snake
A snake game written in Rust.
Stars: ✭ 25
Programming Languages
rust
11053 projects
Rust Snake
A snake game written in Rust.
How To Build It ?
Download Rust compiler from here, change the working directory to the root of this project, then execute the following command:
> cargo build
The executable binary will appear in target/debug
, called rust-snake
.
Game Controls & Rules
- Use the arrow keys on the keyboard to move the green snake.
- Eat the orange food to make the snake stronger.
- When the snake hits the border or itself, it will die.
TODOs
To randomly generate foodsTo make the snake move itselfTo make the snake die when it hits itselfTo make the snake die when it hits bordersTo make the game restart after the snake dies- To have a better game-over screen
Bugs
Foods should not be shown up on top of the snake
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].