Skip to content

alexdantas/snake4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake4 - Fruit-eating snake game

screenshot

This program is my fourth implementation of the snake game, written for Unix and X11. Previous versions were written for MS-DOS.

Move the snake around the screen and eat food. The snake grows in length as you eat. Avoid hitting the fence, eating lethal mushrooms and rotten food, and biting your own tail.

Now and then a slim-pill will bounce around. If you eat this, you will get shorter, and you will gain bonus points for every length you loose. The bonus is also given when a round is over.

When food starts blinking, it's about to rot. Rotten food is poisonous, and thus uneatable. As long as it blinks, it can still be eaten.

Oh, yes - I almost forgot: You may be visited by the evil headbanger. Take my advice and run away from him before he hits you in the head! He won't stay long.

Thx to brother Reidar for thinking up the slim-pill.

Choose among the following keys to move the snake around:

Action Keys
Up A, T, K, Up arrow
Down Z, V, J, Down arrow
Left N, F, H, Left arrow
Right M, G, L, Right arrow
Pause/Unpause P, Space, Pause
Quit Q, Esc

snake4 features a site-wide highscore file. The file contains the top 200 users. Each user may appear once only in the highscore table.

Author

The program is written by Sverre H. Huseby (shh@thathost.com, http://shh.thathost.com/)

Lindealleen 18 A, N-0487 Oslo, Norway

License

This program is released under the Artistic License:

http://www.opensource.org/licenses/artistic-license.html

Comments (even as simple as "I use your program") are very welcome. If you insist on paying something, please donate some money to an organization that strives to make the world a better place for everyone.

I don't like bugs, so please help me removing them by reporting whatever you find!