Classic Snake game 💚
Eat food to increase length (and the score).
Do not eat your tail.
Do not hit the walls (or teleport after touching them).
Adjust board size, speed, quantitity of food and many others!
Written just for fun (and to get familiar with Pygame, PySimpleGUI and git).
python 3
pygame
pySimpleGUI
You need to have python and pip installed
$pip3 install -r requirements.txt
$python3 -m snake
On Linux you can just run snake.sh
(If access denied, try chmod u+x snake.sh
)
Inspired by: freeCodeCamp.org, kiteco, techwithTim
Image from flaticon.com
© Anna Panfil 2020