A fun and nostalgic Snake Game built in C++! Guide the snake to grow by eating food, but avoid hitting the walls or itself.
- Classic Gameplay: Move the snake, eat food, and grow.
- Dynamic Scoring: Track your score based on how much food you've eaten.
- Collision Detection: Game-over mechanics if you hit a wall or yourself.
- C++
- C++ compiler (e.g., GCC)
- Clone the repository:
git clone https://github.com/MohamedBoghdaddy/Snake.git
- Compile and run the code:
g++ Snake.cpp -o Snake ./Snake
Contributions are welcome! Feel free to open issues or submit pull requests to improve the game.
This project is licensed under the MIT License.
Enjoy the game! 🕹️