|
pygame is
pygame.org is
|
AttoSnake
AttoSnake - 509 bytesJordan Trudgett (tgfcoder)Tags:Description
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
tags.
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!
Changes
- Inverted colours to save one byte
- Used some lambda functions for repeated functions
- Deleted some variables
- Shorted some variables
- Changed the way directions are calculated for less bulk
- Removed newly found redundancies
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!
|
|