Welcome to the Snake Game! Test your skills in this classic arcade game.
The Snake Game is a simple yet addictive arcade game where you control a snake to eat food and grow longer without running into walls or yourself. With increasing levels of difficulty, challenge yourself to achieve the highest score.
- Simple Gameplay: Control the snake using arrow keys to navigate the game board.
- Level System: Choose between easy and hard levels, with hard levels featuring more obstacles.
- Score Tracking: Keep track of your score and aim for high scores with each playthrough.
- Game Over Detection: Automatically end the game if the snake collides with walls or itself.
- Interactive Console Interface: Enjoy the game within the console window for a nostalgic experience.
- Programming Language: C++
- IDE: [Add IDE used, e.g., Visual Studio, Code::Blocks]
- Version Control: [Add version control system used, e.g., Git]
To play the Snake Game, follow these steps:
- Ensure you have a C++ compiler installed on your system.
-
Clone the repository:
git clone https://github.com/st-miki/Snake-Game.git
-
Navigate to the project directory:
cd snake-game -
Compile the game:
g++ -o snake_game snake_game.cpp
Execute the compiled binary:
-
For Windows:
.\snake_game.exe -
For Unix/Linux:
./snake_game
Control the snake using arrow keys to navigate the game board. Eat food to grow longer and avoid running into walls or yourself. Choose between easy and hard levels to adjust the difficulty.
Feel free to reach out if you have any questions or suggestions!
- Email: contact me via email
- Twitter: Here is my X account
Distributed under the MIT License. See LICENSE for more information.