https://github.com/minhduc29/snake-game
A classic game about a snake eating food to lengthen its length using Pygame
https://github.com/minhduc29/snake-game
game oop pygame snake-game
Last synced: 2 months ago
JSON representation
A classic game about a snake eating food to lengthen its length using Pygame
- Host: GitHub
- URL: https://github.com/minhduc29/snake-game
- Owner: minhduc29
- Created: 2020-11-08T10:58:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T08:35:06.000Z (over 4 years ago)
- Last Synced: 2025-03-12T00:42:49.170Z (over 1 year ago)
- Topics: game, oop, pygame, snake-game
- Language: Python
- Homepage:
- Size: 17.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Snake Game
#### _Project #5_
- A classic game about a snake eating food to lengthen its length using **_Pygame_**
## How to play
- Move around and eat the food to lengthen your length
- This is an endless game, there is no victory
- Use **ARROW** key to turn left, right, up, down
- If you eat the food, your length will be increased by 1
- If you collide with yourself or do a 180-degree turn, you will lose