Snake game is an console application, It is a complete simulation of the classic snake game.
Developed using C++ language.
snake_game_demo.mp4
- Different modes to play:
- Classic mode: Normal mode with map No Maze
- Custom mode: Select one of the six maps to play
- 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.
-
Use
W∙S∙A∙D
orarrow
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.
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.
Levels |
---|
![]() |
Snake Speed |
![]() |
Other Screenshots |
![]() |
You can also follow my GitHub Profile to stay updated about my latest projects:
If you liked the repo then kindly support it by giving it a star ⭐!