Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kernferm/snake
Welcome to the Snake Game repository! This project is a classic implementation of the Snake game using Python.
https://github.com/kernferm/snake
gate kernferm no-issues pygames python snake
Last synced: 3 days ago
JSON representation
Welcome to the Snake Game repository! This project is a classic implementation of the Snake game using Python.
- Host: GitHub
- URL: https://github.com/kernferm/snake
- Owner: KernFerm
- License: apache-2.0
- Created: 2024-01-09T23:00:43.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T07:36:17.000Z (17 days ago)
- Last Synced: 2024-12-06T08:19:25.372Z (17 days ago)
- Topics: gate, kernferm, no-issues, pygames, python, snake
- Language: Python
- Homepage:
- Size: 568 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Support the Project โญ
If you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. ๐
## ๐ฅ How to Download the Repo (First-Time Users)
Click the link to read [**Instructions**](https://www.gitprojects.fnbubbles420.org/how-to-download-repos) ๐.
---
### โ ๏ธ No Issues with This Game!
- If you want to **FORK** it, **GO FORK IT**! ๐ด
- Make sure you have an account to **FORK** the repo ๐.---
# ๐ SNAKE
This is a fun and simple **Snake** game built with **Pygame** ๐ฎ.
---
### ๐ ๏ธ Installing Dependencies
Use the `requirements.bat` file to install the necessary dependencies before running the game โ๏ธ.
---
### ๐ Python Versions
If you donโt have Python installed, here are a few options:
- [**Python 3.11.6**](https://github.com/KernFerm/Py3.11.6installer)
- [**Python 3.11.9**](https://github.com/KernFerm/Py3.11.9installer)
- [**Python 3.12.1**](https://github.com/KernFerm/Py3.12.1-installer-batch)---
### ๐ Running the Game
1. **Unzip the Folder**: Make sure the folder is **unzipped** and placed in an easily accessible location (like your desktop).
2. **Open Command Prompt**: Press `Win + R`, type `cmd`, and press Enter ๐ป.
3. **Navigate to the Game Folder**:
- Type `cd ` (donโt forget the space), then **drag and drop** the unzipped folder into the command prompt window and press Enter.
4. **Run the Game**: Type the following command and press Enter:```
python main.py
```
The game window will pop up, and you're ready to play! ๐ฎ### ๐ฎ How to Play
- **Use the arrow keys** on your keyboard to control the snakeโs direction ๐โฌ ๏ธโฌ๏ธโก๏ธโฌ๏ธ.
- **Avoid running into the walls or yourself** and try to eat as many "food" items as possible to grow your snake! ๐
- Enjoy playing **Snake** and challenge yourself to get the **highest score**! ๐