Classic console-based Snake game implemented in C++ with object-oriented design. Features real-time gameplay, collision detection, and terminal-based controls using WASD keys.
Go to file
2025-07-28 20:30:58 -05:00
include Updated architechure and Readme.md 2025-07-28 20:28:58 -05:00
src Updated architechure and Readme.md 2025-07-28 20:28:58 -05:00
.gitignore Updated architechure and Readme.md 2025-07-28 20:28:58 -05:00
best_score.txt Initial commit: Console Snake game 2025-07-08 21:50:28 -05:00
CMakeLists.txt Updated architechure and Readme.md 2025-07-28 20:28:58 -05:00
DarkSnake.png Update README.MD 2025-07-28 20:30:58 -05:00
LICENSE Updated architechure and Readme.md 2025-07-28 20:28:58 -05:00
README.md Update README.MD 2025-07-28 20:30:58 -05:00

Dark Snake Logo

A modern Snake game built with C++ and SFML

Features

  • Modern graphics with SFML
  • WASD/Arrow key controls
  • Score tracking with best score persistence
  • Menu and pause functionality
  • Smooth collision detection

📋 Requirements

  • C++17+
  • CMake 3.10+
  • SFML 2.5+

🚀 Quick Start

# Install dependencies (Ubuntu/Debian)
sudo apt install cmake build-essential libsfml-dev

# Build and run
mkdir build && cd build
cmake .. && make
./Snake

🎮 Controls

  • WASD/Arrows — Move
  • Space — Pause
  • Enter — Menu select
  • Escape — Menu/Quit

📁 Structure

Snake/
├── src/           # Source files
├── include/       # Headers  
├── assets/        # Game assets
└── CMakeLists.txt # Build config

🤝 Contributing

Feel free to submit issues and pull requests!

📄 License

MIT License - see LICENSE file.