/rust-snake

A snake game written in Rust.

Primary LanguageRustMIT LicenseMIT

Rust Snake

A snake game written in Rust.

How To Run ?

First, install the Rust development evnironment from here (if you do not have one).

Second, run the following command in the project directory:

> cargo run

Enjoy!

Game Controls & Rules

  • Use the arrow keys on the keyboard to move the green snake.
  • Eat the orange food to make the snake stronger (or longer).
  • When the snake hits the border or itself, it dies.

TODOs

  • To have a better game-over screen

License

Copyright (c) 2016-2022 rust-snake's contributors.

rust-snake is made available under the terms of the MIT License.