#snake #game #arcade #terminal #snek

app snekrs

A fun and quirky terminal-based snake game written in Rust 🐍

2 unstable releases

new 0.2.0 Jan 20, 2025
0.1.0 Jan 20, 2025

#1 in #arcade

MIT license

9KB
172 lines

🐍 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")? 🦀🐍

Dependencies

~2–11MB
~137K SLoC