Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slmt/rust-snake
A snake game written in Rust.
https://github.com/slmt/rust-snake
Last synced: 20 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T07:15:35.000Z (over 2 years ago)
- Last Synced: 2023-02-26T09:16:48.532Z (over 1 year ago)
- Language: Rust
- Size: 43 KB
- Stars: 55
- Watchers: 2
- Forks: 22
- Open Issues: 1
-
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).