A simple and interactive Snake Game built using C++ for the console. This project demonstrates game loops, keyboard input handling, basic graphics using characters, and real-time movement logic.
🟢 Smooth snake movement
🍎 Random food generation
📈 Score tracking
🚫 Game-over detection
🎮 Real-time keyboard input
✨ Beginner-friendly & clean code
snake.cpp → Main game source code
README.md → Project documentation
Using g++
g++ snake.cpp -o snake
Run the Game
./snake
W → Move Up
S → Move Down
A → Move Left
D → Move Right
Eat the food (F or #) to grow your snake. Avoid hitting walls or your own tail!
Loops & conditional statements
Arrays / vectors
Random number generation
Functions
Real-time input handling
Basic console rendering
📦 Snake-Game ├── snake.cpp # Main game logic └── README.md # Project documentation
🌈 Add colors to the board
🧱 Add obstacles
🔊 Add sound effects
🏆 High score saving
🐍 Multiple difficulty levels
