The snake game is well known all around the world as one of simplest and yet most fun games, with its creation from around 1976 for the arcades, but getting even more famous when it came to mobile phones. The game consists in a snake eating fruits and getting bigger and bigger and avoiding hiting the walls and itself, for its own sake.
This version of the game was all coded in Python and, as I am new to Python language, I followed a tutorial made by a channel on youtube named Clear Code (https://www.youtube.com/ClearCode).
Link to the video: https://youtu.be/QFvqStqPCRU
His GitHub repository: https://github.com/clear-code-projects/Snake
First of all, you need to have python installed in your pc, you can find the latest version here: https://www.python.org/downloads/
In order to run the game you need to download this repository by clicking on Code and download ZIP:
Or clone it with:
git clone [email protected]:RuaN-debug/Python_Game.git
Then all you have to do is install the pygame:
pip install -r requirements.txt
And run the Python_Game.py file:
python Python_Game.py