This is a simple implementation of the classic Snake Game written in C++ that runs in the terminal. The game logic is handled using basic input and drawing operations.
๐ฎ How to Play
w โ Move Up
s โ Move Down
a โ Move Left
d โ Move Right
x โ Exit the game
The objective is to eat the fruit (F) that randomly spawns on the map. Each time the snake eats the fruit, the score increases by 10 points, and the snake's tail grows.
๐ Game Rules
Avoid colliding with the walls.
Do not collide with your own tail.
Press x at any time to exit the game.
