A feature-rich console Snake game with scoring, difficulty scaling, poisonous food, pause functionality, and high score tracking.
- ๐ Food System: Eat food to grow and increase score (+10 points)
- โ ๏ธ Poisonous Food: Avoid poison or game over!
- ๐ Dynamic Difficulty: Speed increases as you score more
- โธ๏ธ Pause/Resume: Press 'p' to pause the game
- ๐ High Scores: Top 10 scores saved automatically
- ๐ฏ Smart Spawning: Food never spawns inside snake body
g++ -o game.exe main.cpp
game.exew- Move Ups- Move Downa- Move Leftd- Move Rightp- Pause/Resumeq- Quit Game
g++ -o tests.exe snake_test.cpp -lgtest -lgtest_main
tests.exemain.cpp- Game entry pointsnake.h- Core game logicsnake_test.cpp- Unit testsscores.txt- High scores (auto-created)game.exe- Compiled executable