Skip to content

Halloloid/RustySnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 RustySnake

A fast, minimal terminal-based Snake game built in Rust with real-time input and smooth gameplay.


Features

  • Real-time keyboard input (no lag)
  • Smooth directional control with reverse-blocking logic
  • Collision detection (walls + self)
  • Randomized food spawning
  • Live score tracking
  • Clean terminal rendering using Crossterm

🛠️ Tech Stack

  • 🦀 Rust
  • Crossterm (terminal handling)
  • Rand (random food generation)

Getting Started

git clone https://github.com/Halloloid/RustySnake.git
cd RustySnake
cargo run

About

A fully interactive Snake game built in Rust for the terminal using Crossterm. Implements real-time input handling, direction constraints to prevent invalid moves, collision detection (wall & self), randomized food spawning, and efficient rendering with a clean game loop architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages