Python - Snake game in 15 or 26 lines of code.

This time fully functional Snake game written in Python 2.6.5 (linux / text-mode). The code is highly optimized for size / only standard modules are used.

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

Download: snake2615l.tar.bz2



2 comments:

hobagos said...

Thanx a lot!
Learning python and need some material about curses/ Your games are very helpful.

Rasmus said...

What is the from "curses" what does the "curses" do?

Post a Comment