Skip to content

Snake game is an console application, It is a complete simulation of the classic snake game. Developed using C++ language.

Notifications You must be signed in to change notification settings

youssef7ussien/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cover

icon Snake Game

Snake game is an console application, It is a complete simulation of the classic snake game.
Developed using C++ language.

snake_game_demo.mp4

Features

  • Different modes to play:
    1. Classic mode: Normal mode with map No Maze
    2. Custom mode: Select one of the six maps to play
    3. Campaign mode: Campaign mode is a challenge consisting of 5 levels
  • Control the speed of the snake: 8 levels of speed
  • From time to time, a bonus ball appears that increases the score
  • The progress and current status of the game are saved so that can refer to it again.

How To Play

  • Use W∙S∙A∙D or arrow to control the game.

           ┌───┐                      ┌───┐
           │ W │                      │ ^ │
           └───┘          OR          └───┘
     ┌───┐ ┌───┐ ┌───┐          ┌───┐ ┌───┐ ┌───┐
     │ A │ │ S │ │ D │          │ < │ │ v │ │ > │
     └───┘ └───┘ └───┘          └───┘ └───┘ └───┘
    
  • Eat the food without colliding with any obstacles

  • Eat bonus food quickly to score extra points.

  • Warnings:

    • When you want to exit the game you have to going to "EXIT" in main menu and then "SAVE | YES" so that you can save your progress in the game.
    • You must not delete or modify the file associated with the game, which is named "SnakeGame.DAT" because deleting or modifying it may lead to the deletion of your progress in the game.

Attention

This project was implemented in the first year of university (Faculty of Computer and Information), and accordingly the code is not clean (I was in the first year, man), I am proud that I finished this game at that time.

Maybe if I had the chance, I could refactoring this code again.

Screenshots

Levels
levels
Snake Speed
snake speed
Other Screenshots
other screenshots

Author

Youssef Hussien

You can also follow my GitHub Profile to stay updated about my latest projects:

GitHub Follow

If you liked the repo then kindly support it by giving it a star ⭐!

About

Snake game is an console application, It is a complete simulation of the classic snake game. Developed using C++ language.

Topics

Resources

Stars

Watchers

Forks

Languages