SNAKE game in 26/15 lines of PYTHON code

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,254
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 13, 2010

Only Standard modules: curses and random / Python 2.6.5 / Linux text-mode

Standard version: 26 lines
Short version (same code): 15 lines

Source:
26 lines: http://paste.pocoo.org/show/222646/
15 lines: http://paste.pocoo.org/show/222648/

Download: http://snake-1526l.googlecode.com/files/snake2615l.tar.bz2

My blog: http://defaultset.blogspot.com

Category:

Gaming

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (K0x21)

  • whats the music?

  • @Friedtunafish77 My own composition.

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • Hahah thats great, just wrote a python snake game with graphics but it was 521 lines lol!

  • What's the name of the song?

  • Oh, my god!!! This almost uncreatable! And it's here...

  • can you do the same in 3.x?

  • sorry m beginner. should i use this code in window?

  • the music is sexy...

  • madness, pure madness,

  • what linux theme u using?

  • cant get it to run :(

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more