1 unstable release
0.1.0 | Dec 29, 2024 |
---|
#69 in Games
100 downloads per month
8KB
165 lines
Snake Game in Rust
A simple terminal-based Snake Game built in Rust with no external dependencies.
This game lets you control a snake to collect food while avoiding collisions with itself and the walls. The game is displayed on a grid, where your snake grows longer each time it eats food.
Features
- Pure Rust: No dependencies, using
SystemTime
for randomness. - Terminal-based: Fully interactive console game.
- Dynamic Scoring: Your score increases as you eat food, and it's displayed at the top.
- Controls: Use
w
,a
,s
, andd
to control the snake’s movement. Pressq
to quit.
Installation
- Clone this repository:
git clone https://github.com/Jaisinh/snake_game/