A really shitty snake game made in Python using Raylib
Installation
Requirements
- python3
- pip
- virtualenv
- raylib (5.5 or higher)
- setuptools
Note
This specific installation goes through setting the project up on linux but should be easly translated into other platforms.
-
First clone the repo
git clone https://github.com/rawxtl/python-snake.git -
Create a virtual env
python -m venv <dir-name> -
Install virtualenv package if not installed
pacman -S python-virtualenvorpython -m pip install virtualenv -
Activate the virtual environment using your shell
cd <dir-name>/bin/&source activate.fish.csh.ps1 -
Install setuptools and raylib using pip
pip install setuptools
pip install raylib==5.5.0.2
After sorting the dependencies and starting the virtual env go back to the root of the project which is python-snake and run run.bash file
./run.bash this should run the program and work properly. if not please let me know by opening a issue on this page.
Note
To stop the virtualenv just run deactivate on your shell and everything should be back to normal