pygame is
Simple DirectMedia Layer is
Site Swing
Yellow Snake

Yellow Snake - 1.02

Brock Glaze (bglaze)



This is my attempt at a clean snake game. The highest level has some blinking, so beware if you are at risk for seizures...


1. Added score tracker 2. Added increasing speeds as you increase in size 3. Added animations as you increase in size to add an element of difficulty. 4. Added a 'draw' mode so that my young children could play without the ability to die. The highest level has a lot of blinking, so play at your own risk if you are at risk for seizures...


Home Page:


click to view original size


Yellow Snake - 1.03 - Sep 27, 2011
Yellow Snake - 1.02 - Sep 26, 2011
Yellow Snake - 1.01 - Sep 25, 2011 account Comments

If you wish to leave a comment with your account, please sign in first.

September 27, 2011 3:40pm - Brock Glaze - nickname: (bglaze)

Made the changes you suggested. Also added a pause option.
September 27, 2011 2:17pm - Brock Glaze - nickname: (bglaze)

Thank you for your input! I will make those changes to make it compatible with 3.0!

Also, once you reach certain levels the images for the sprites go into animation mode, and I plan on experimenting with different images to make the snake look better. However, you are definitely right about using fill and just rect surfaces being a better option if I plan on keeping them just colored squares.

I really appreciate you taking the time to check it out and comment! Thanks for your help!
September 27, 2011 2:27am - josmiley / Luke spywoker - nickname: (mutualaccount)
oops ...
snake.pyw, line 69 : for block in range(length):
September 27, 2011 2:26am - josmiley / Luke spywoker - nickname: (mutualaccount)
make some change to run under py3 ..., line 255 : for tile_y in range(0, master_height // h):, line 259 : for tile_x in range(0, master_width // w):
snake.pyw, line 69 : for block in xrange(length):

it is well done but I think the use of "Sprite" was useless because you used squares, "fill" might be more appropriate which would have reduced the code.

good job.
September 26, 2011 2:41pm - Brock Glaze - nickname: (bglaze)
I added score keeping and level increases to raise per-eat-tail-length and speed.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)