Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/odavhad/snake-game
A snake game in Python
https://github.com/odavhad/snake-game
pygame python
Last synced: about 2 months ago
JSON representation
A snake game in Python
- Host: GitHub
- URL: https://github.com/odavhad/snake-game
- Owner: odavhad
- License: mit
- Created: 2020-07-17T13:16:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T14:08:00.000Z (over 4 years ago)
- Last Synced: 2024-10-12T21:47:34.692Z (3 months ago)
- Topics: pygame, python
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snake-game
A snake game in Python## Setup
1. To get started, clone the repository using:
``` bash
git clone https://github.com/odavhad/snake-game.git
```
2. Navigate to the repository directory using your terminal/ command prompt
3. Run the following commands \
For macOS/ Linux
``` bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
For windows
``` bat
python3 -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
```
4. The virtual environment setup is completed, now run the 'game.py' file using:
``` bash
python game.py
```