Skip to content

Presenting a simple Snake game developed over a spare weekend using C++ language. Dive into classic gameplay with sleek functionality for an enjoyable gaming experience

Notifications You must be signed in to change notification settings

st-miki/Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Snake Game

Welcome to the Snake Game! Test your skills in this classic arcade game.

Table of Contents

About the Project

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.

Features

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

Technologies Used

  • Programming Language: C++
  • IDE: [Add IDE used, e.g., Visual Studio, Code::Blocks]
  • Version Control: [Add version control system used, e.g., Git]

Getting Started

To play the Snake Game, follow these steps:

Prerequisites

  • Ensure you have a C++ compiler installed on your system.

Installation

  1. Clone the repository:

    git clone https://github.com/st-miki/Snake-Game.git
  2. Navigate to the project directory:

    cd snake-game
  3. Compile the game:

    g++ -o snake_game snake_game.cpp

Running the Game

Execute the compiled binary:

  • For Windows:

    .\snake_game.exe
  • For Unix/Linux:

    ./snake_game

Usage

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.

Contact

Feel free to reach out if you have any questions or suggestions!

License

Distributed under the MIT License. See LICENSE for more information.

About

Presenting a simple Snake game developed over a spare weekend using C++ language. Dive into classic gameplay with sleek functionality for an enjoyable gaming experience

Topics

Resources

Stars

Watchers

Forks

Languages