Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```