This game was created by Dang Ngoc Quan after participating in the MIMPython course.
You can download game here. After downloading, extract the SimpleSnakeGame.zip file, then run the SimpleSnakeGame.exe file to play the game.
git clone https://github.com/dangngocquan/SimpleSnakeGame.git
pip install -r requirements.txt
preview.mp4
Main menu include:
- 1.1. Play game
- 1.2. Account
- 1.3. Options
- 1.4. Statistics
- 1.5. History
- 1.6. About Game
- 1.7. Quit game
MainMenu.mp4
Play Game Menu include:
- 1.1.1. New game
- 1.1.2. Continue game
- 1.1.3. Back
PlayGameMenu.mp4
Play new match game.
NewGame.mp4
NewGame2.mp4
NewGame2.mp4
You can continue to play the match game which you have not finished before quit game.
ContinueGame.mp4
In game over screen, you can use key '0', '1', '2', '3', '4', '5', '6'
to move your snake (only for loser - snake that died)
GameOver2.mp4
Account Setting include:
- 1.2.1. Existing account
- 1.2.2. Create new account
- 1.2.3. Back
AccountSetting.mp4
You can see statistics of current account, choose other account to play or delete some account if you want.
Note: Account 'Nobody' is default account, so you can't remove it.
ExistingAccount.mp4
You can create a new account if you want.
CreateNewAccount.mp4
Options Menu include:
- 1.3.1. Gamemode setting
- 1.3.2. Game setting
- 1.3.3. Sound setting
- 1.3.4. Map setting
- 1.3.5. Back
OptionsMenu.mp4
You can setup some mode for game:
- Number of player:
- 1: One player control a snake, use
'A', 'W', 'S', 'D'
or'UP', 'DOWN', 'LEFT', 'RIGHT'
to control the snake. - 2: Two player control two snakes, the first player use
'A', 'W', 'S', 'D'
to control the first snake, the second player use'UP', 'DOWN', 'LEFT', 'RIGHT'
to control the second snake
- 1: One player control a snake, use
- Auto speed up snake:
- OFF: The speed of the snake will depend on the setting in
Game Setting Menu --> Snake move speed
- ON: The spped of the snake will auto increase when snake eat foods, not depend on the setting in
Game Setting Menu --> Snake move speed
- OFF: The speed of the snake will depend on the setting in
- Target score: You wil win if your score greater or equal to Target score.
- Minium target score is 100.
- You can use wheel-up to increase Target score.
- View control:
- First-person view: Player only use
'A', 'D'
or'LEFT', 'RIGHT'
to control snake. - Third-person view: Player use
'A', 'W', 'S', 'D'
or'UP', 'DOWN', 'LEFT', 'RIGHT'
to control the snake.
- First-person view: Player only use
GamemodeSettingMenu.mp4
You can setting the appearance ò the grid, the speed of snake when it move, drop, change color (animation speed), the number of max food in game, the speed of animation of foods.
- Grid:
- ON: Show grid when you play game.
- OFF: Don't show grid.
- Snake:
- Move speed: 1-60, the speed of snake.
- Drop speed: 1-60, the speed of snake when it drop (only appear when snake died).
- Animation speed: 1-60, The change frame speed of snake.
- Food:
- Max food: 1-104, the number of maxium food in game.
- Animation speed: 1-60, the change frame speed of food.
GameSettingMenu.mp4
You can choose the background music, change volume of music or change volume of sound (sound when press button, change button, sound when snake eat food, when game over).
- Music:
- Music 0: Loafers - BoyWithUke
- Music 1: Sweden - C418
- Music volume: 0-100, volume of background music.
- Sound volume: 0-100, sound when press button, change button, sound when snake eat food, when game over.
SoundSettingMenu.mp4
Map setting menu include:
- 1.3.4.1. Existing Maps
- 1.3.4.2. Create new map
- 1.3.4.3. Back
MapSettingMenu.mp4
You can choose a map to play.
ExistingMaps.mp4
If you want to create a new map for yourself, this is a good choice.
CreateNewMap.mp4
Show highest score and player's name, total time played in game, total match, ...
Statistics.mp4
History play game.
History.mp4
Link of music, images, ... Link of source code if someone need.
AboutGameMenu.mp4
OpenLink.mp4
Yah, finally, quit game. Thank for play my game !!!