This is a classic Snake Game implemented in C++. The game is played on the command line interface, where the player controls a snake and tries to eat food while avoiding collision with the walls or the snake's own body.
The Snake Game includes the following features:
- Snake Movement: The snake moves in the direction specified by the player (W,A,S,D).
- Food Generation: The food appears at random positions on the game board.
- Collision Detection: The game detects collisions between the snake and the walls or its own body.
- Score Tracking: The player's score is displayed on the screen, increasing whenever the snake eats food.
- Game Over: When the game ends, the final score is displayed.