AttoSnake - 496 bytes -- Final?
Jordan Trudgett (tgfcoder)
It's still just as playable! The input is tidy, not
delayed, and fun to play with and best of all, there are NO
glitches (that I'm aware of.) To quit, just chuck in a
KeyboardInterrupt or crash into yourself. It WILL NOT quit
neatly in IDLE, unfortunately. It was a tradeoff for less
bytes. Enjoy! For other snakers: use & lt; and & rt; for
angular brackets (no spaces after &) Use this to make your
code HTML friendly!
Apologies: pygame thought some of the angular brackets were
FIXED NOW. The code you see below can be copied and pasted into your favourite editor and run as a python file as-is.
Thanks for playing!
import pygame as p,random
if P in B[:-1] or P%9==8 or P&256or P>71:Z
for v in p.event.get():
click to view original size
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
Dec 5, 2013
Dec 3, 2013
Dec 1, 2013
Nov 30, 2013
Nov 28, 2013
Nov 27, 2013
Nov 25, 2013
Nov 19, 2013
Nov 17, 2013
Nov 16, 2013
Nov 14, 2013