https://github.com/parthasdey2304/snake-game
This is a basic snake game made using python and pygame!
https://github.com/parthasdey2304/snake-game
Last synced: 10 months ago
JSON representation
This is a basic snake game made using python and pygame!
- Host: GitHub
- URL: https://github.com/parthasdey2304/snake-game
- Owner: parthasdey2304
- License: mit
- Created: 2023-07-23T15:20:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T09:58:00.000Z (almost 3 years ago)
- Last Synced: 2025-08-02T07:36:21.073Z (10 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snake-game
This is a basic snake game made using python and pygame!
# Pre-requisites
+ You need to install Python first :
```
sudo apt install python3 -y
```
+ You would need Git as well :
```
sudo apt install git -y
```
+ You would need to install pip which is python's package manager :
```
sudo apt install python3-pip -y
```
+ You need PyGame to run this :
```
pip install pygame
```
# Installation
+ Clone the GitHub repo :
```
git clone https://github.com/parthasdey2304/snake-game.git
```
+ Open the repository :
```
cd snake-game
```
+ Run the ***snake.py*** file :
```
python3 snake.py
```
# How to play
+ Just use the arrow keys
+ The snake is green in color
+ The bait is red in color
+ Press Q to exit the game
+ Press C to restart the game
# Screenshots

# Reporting Bugs
If you guys find any bugs in the application follow these guidelines :
+ Raise an issue in the issues section.
+ If you want to fix the bug make a pull request and do it.
+ After its done just mail that to me at parthasdeyofficial@gmail.com.
+ I would verify you bug fixing and then merge it with the main branch!
# The game is running!! Enjoy