pslange iconpslange 0.1

pslange is a ncurses-based clone of the game snake.
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.

Requirements:

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

Installation:

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

Usage:

snake.py -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, 7:05 GMT
price:
FREE!
developed by:
Esben Jon Jensen
license type:
GPL (GNU General Public License) 
category:
ROOT \ Games \ Arcade

FREE!

In a hurry? Add it to your Download Basket!

user rating 13

UNRATED
3.4/5
 

0/5

Add your review!

SUBMIT