Snake Game in Python

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

Snake Game Screenshot
Snake Game Screenshot

This is one of my first python project so don’t expect anything fancy.

The source code is as given below.

0 0 votes
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ashish
11 years ago

Good one. I especially like the fact that the cheat code which removes obstacles has the word “noob” in it.

Hindi Fonts
11 years ago

Nice game. I was searching for similar projects on python and pygame.

2
0
Would love your thoughts, please comment.x
()
x