|
pygame is
pygame.org is
|
BCsnake
BCsnake - 278 Bytesjosmiley (josmiley)Tags:Descriptionsnake in 277 bytes
from pygame import*;d=display;y,D,S=s=[15,16,17];n,p,x=D,99,d.set_mode([225]*2).fill while s.count(S)%2*S%n*(S&240): for e in event.get(2):D=(-1,-n,n,1)[e.key&3] s=s[p!=S:]+[S+D];x(-1) if p==S:p=s[0] for i in[p]+s:x(0,((i-1)%n*y,(i-n)/n*y,y,y)) d.flip();S+=D;time.wait(99)
python2. LinksScreenshot click to view original size
Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
Jun 11, 2013
Jun 9, 2013
Jun 7, 2013
Jun 4, 2013
Jun 1, 2013
May 30, 2013
May 26, 2013
May 24, 2013
May 23, 2013
May 22, 2013
May 21, 2013
... more!
|
|