This is a small snake game that i created just for fun. The source code is 4 kb in size and the snake game is very simple. You just try to eat the food while preventing the obstacles. There are a few “cheat codes”. The cheat codes and their uses are
longlongsnake : doubles the snake length
getmorescore : increases the score by 99999
doublemyscore : doubles the user score
noobstacles : removes all the obstacles
This is one of my first python project so don’t expect anything fancy.
The source code is as given below.