https://github.com/slmt/rust-snake
A snake game written in Rust.
https://github.com/slmt/rust-snake
Last synced: 12 months ago
JSON representation
A snake game written in Rust.
- Host: GitHub
- URL: https://github.com/slmt/rust-snake
- Owner: SLMT
- License: mit
- Created: 2016-10-29T07:21:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T17:13:03.000Z (about 2 years ago)
- Last Synced: 2025-04-12T05:28:22.079Z (about 1 year ago)
- Language: Rust
- Size: 43 KB
- Stars: 85
- Watchers: 2
- Forks: 27
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Rust Snake
A snake game written in Rust.

## How To Run ?
First, install the Rust development evnironment from [here](https://www.rust-lang.org/tools/install) (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](LICENSE.md).