A snake game made with Pygame and Python3, still missing a lot of features.
You can contribute by solving any of our open issues, or any other improvement you feel like doing!
- Fork and clone the repository
- Install the dev requirements with
pip3 install -r dev-requirements.txt
- Run
pre-commit install
. After every commit, pre-commit will use black to format the style of your code, keeping a consistent style for the whole project. If your files get reformatted, your changes(and black's) will stay staged and you'll have to commit again. - Code and test your functionality
- Create a pull request
- Install python3 from https://www.python.org/download/releases/3.0/
- Install pygame with the command(windows / linux command):
pip install pygame
orpip3 install pygame
- Install git from https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- Open your terminal, clone the repository with
git clone https://github.com/douglas-cpp/snake.git
- Cd to the project's folder:
cd snake
- Run the game(windows / linux command:
python snake/main.py
/python3 snake/main.py