/pygame-snake

Crappy Pygame snake clone written in a few hours

Primary LanguagePython

Pygame Snake

A crappy Snake clone made in like 4 hours cause why not

Install

Navigate to your preferred directory, clone the repository, and cd into the new directory

$ cd /path/to/Desktop/TryIt
$ git clone https://github.com/Python3-8/pygame-snake.git
...
$ cd pygame-snake

Then create a virtual environment (optional):

$ python3 -m pip install -U virtualenv
...
$ virtualenv venv
...
$ source venv/bin/activate # on macos and linux
...
$ .\venv\Scripts\activate # on windows
...

Then install dependencies with

$ python3 -m pip install -r requirements.txt
...

And finally, enjoy!

$ python3 main.py

How to play

This is just Snake, except you can pause with Space.