Skip to content

annapanfil/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

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).

Technologies

python 3

pygame

pySimpleGUI

Setup

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