Skip to content

This repository contains the classic Snake game, recreated in Visual Basic and .NET for Windows. Control the snake to eat food, grow longer, and avoid collisions. The snake moves through walls and reappears on the opposite side. Features include score tracking and increasing difficulty.

Notifications You must be signed in to change notification settings

Tatendamarimo/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

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.

Key Features

  • 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

Installation

Follow these steps to install and run the Snake Game on your system:

Prerequisites

  • Windows 10 or later
  • .NET Framework 4.7.2 or later

Steps

  1. Clone the Repository

    git clone https://github.com/Tatendamarimo/Snake-Game.git
    cd snake-game
  2. Open the Project

    • Open the project in Visual Studio.
  3. Build the Solution

    • In Visual Studio, build the solution to restore any missing dependencies and compile the code.
  4. Run the Program

    • Start the program from Visual Studio by pressing F5 or by selecting Debug -> Start Debugging.

How to Play

  1. Start a New Game

    • The game initializes with a snake in the middle of the screen and food appearing randomly.
  2. Control the Snake

    • Use the arrow keys to control the snake's movement.
  3. Eat Food

    • Guide the snake to eat the food that appears on the screen. Each time the snake eats food, it grows longer.
  4. 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.
  5. Track Your Score

    • The score increases each time the snake eats food. The longer the snake, the higher the score.

Troubleshooting

Here are some common issues and their solutions:

Error: Required Files Not Found

  • Solution: Ensure that all necessary files are present in the correct directories. Check the project's bin folder for the compiled files.

Error: Incompatible System Requirements

  • Solution: Verify that your system meets the minimum requirements specified above. If not, consider upgrading your system to meet these requirements.

Installation Failed

  • 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.

About

This repository contains the classic Snake game, recreated in Visual Basic and .NET for Windows. Control the snake to eat food, grow longer, and avoid collisions. The snake moves through walls and reappears on the opposite side. Features include score tracking and increasing difficulty.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published