An open API service indexing awesome lists of open source software.

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!

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
![image](https://github.com/parthasdey2304/snake-game/assets/131694386/0aae16c7-df01-453f-837d-6ff7350aa52d)

# 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