Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voter101/snake-rs
A snake implementation in Rust
https://github.com/voter101/snake-rs
Last synced: about 2 months ago
JSON representation
A snake implementation in Rust
- Host: GitHub
- URL: https://github.com/voter101/snake-rs
- Owner: voter101
- Created: 2024-03-10T19:36:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T00:27:12.000Z (7 months ago)
- Last Synced: 2024-06-05T01:48:07.518Z (7 months ago)
- Language: Rust
- Size: 877 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake.rs - Snake implementation in Rust
A simple toy game I wrote while learning Rust.
![An example game session of snake-rs](/demo.gif)
## Play the game
Run the game with:
```sh
cargo run
```To turn off the game, you need to press `ESC` and then on pause menu press `q`.
## Configuration
To configure the game, you can pull the help message with:
```sh
cargo run -- --help
```