Welcome to the Snake Game repository! This project is a digital recreation of the classic Snake game from old Nokia phones, implemented using Visual Basic and .NET for Windows. Control a snake, eat food to grow longer, and avoid collisions with the snake's own body. The snake can move through walls and reappear on the opposite side, just like the original game.
- Classic arcade gameplay reminiscent of old Nokia phones
- Simple and intuitive controls
- Snake moves through walls and reappears on the opposite side
- Increasing difficulty as the snake grows longer
- Score tracking
Follow these steps to install and run the Snake Game on your system:
- Windows 10 or later
- .NET Framework 4.7.2 or later
-
Clone the Repository
git clone https://github.com/Tatendamarimo/Snake-Game.git cd snake-game
-
Open the Project
- Open the project in Visual Studio.
-
Build the Solution
- In Visual Studio, build the solution to restore any missing dependencies and compile the code.
-
Run the Program
- Start the program from Visual Studio by pressing
F5
or by selectingDebug
->Start Debugging
.
- Start the program from Visual Studio by pressing
-
Start a New Game
- The game initializes with a snake in the middle of the screen and food appearing randomly.
-
Control the Snake
- Use the arrow keys to control the snake's movement.
-
Eat Food
- Guide the snake to eat the food that appears on the screen. Each time the snake eats food, it grows longer.
-
Avoid Collisions
- Avoid hitting the snake's own body. The game ends if a collision occurs.
- Move through the walls to reappear on the opposite side.
-
Track Your Score
- The score increases each time the snake eats food. The longer the snake, the higher the score.
Here are some common issues and their solutions:
- Solution: Ensure that all necessary files are present in the correct directories. Check the project's
bin
folder for the compiled files.
- Solution: Verify that your system meets the minimum requirements specified above. If not, consider upgrading your system to meet these requirements.
- Solution: Try reinstalling the program. Ensure that you have sufficient permissions and that no other processes are interfering with the installation. If the problem persists, contact customer support.
Enjoy playing the Snake Game! If you have any questions or feedback, please feel free to reach out or open an issue on GitHub.