pslange 0.1

pslange is a ncurses-based clone of the game snake.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
3.4/5 13
Esben Jon Jensen
ROOT \ Games \ Arcade
pslange project is a ncurses-based clone of the game snake.

pslange is a clone of an old classic game otherwise known as snake or nibbles.

The object of the game is to steer the snake around the screen eating the food that pops up. Every time the snake eats something it grows. If the snake hits an obstacle either itself or the wall, the game ends.

I wrote pslange as a small learning project in order to learn python. It may not be the most advanced game but I belive it is an entertaining way to spend a few minutes. :-)

Since it does have several features common to many python based command line tools, it may be useful to some people as an example on how to do these things in python.

Here are some key features of "pslange":

Internationalization - also known as I18N.
Python setup.
Command line handling using the module optparse.
Using the python curses interface.


Python2.3 or later
Python curses module
An ncurses capable terminal


Unpack the tarball.
CD into the newly created dir
The game can either be started directly by running the script or it can be installed using the provided script. Both scripts take a -h option that will ouput usage information.

Usage: -h
will output some usage information, the simplest way to start it is without options. The snake is controlled using the cursor keys.

Last updated on December 11th, 2006

#snake clone #steer snake #eat food #pslange #steer #snake #around

Add your review!