snekrs

Crates.iosnekrs
lib.rssnekrs
version0.2.0
created_at2025-01-20 06:22:49.666755+00
updated_at2025-01-20 06:40:46.803284+00
descriptionA fun and quirky terminal-based snake game written in Rust 🐍
homepage
repositoryhttps://github.com/logesh-kumar/snekrs
max_upload_size
id1523609
size23,559
Logesh Kumar (logesh-kumar)

documentation

README

🐍 snekrs

A quirky, terminal-based Snek (Snake) game written in Rust! Watch your noodle grow as you munch on bytes, but don't byte yourself!

✨ Features

  • 🎮 Smooth terminal-based gameplay
  • 🐍 Classic snek mechanics
  • 🏆 Score tracking
  • 💥 Collision detection
  • 🏃‍♂️ Continuous movement
  • 🍎 Food spawning system

🚀 Installation

Install using Cargo:

cargo install snekrs

🎮 How to Play

Run the game:

snekrs

🎯 Controls

  • ⬆️ Up Arrow: Move Up
  • ⬇️ Down Arrow: Move Down
  • ⬅️ Left Arrow: Move Left
  • ➡️ Right Arrow: Move Right
  • Q: Quit Game

🎨 Game Elements

  • O: Snek Head
  • o: Snek Body
  • *: Food
  • #: Wall

🛠️ Development

To build from source:

git clone https://github.com/yourusername/snekrs
cd snekrs
cargo build --release

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤔 Why snekrs?

Because every snake game needs a quirky name, and what's better than combining the internet's favorite spelling of snake ("snek") with Rust's favorite file extension ("rs")? 🦀🐍

Commit count: 6

cargo fmt