X-Snake

 

Snake en XLIB

 Inicio
 Linux
 Programación
  Cursos
  Programas
 Artículos
 Spectrum
 Varios
 El Autor
 
   


    __  __    ____              _
    \ \/ /   / ___| _ __   __ _| | _____
     \  /____\___ \| '_ \ / _` | |/ / _ \
     /  \_____|__) | | | | (_| |   <  __/
    /_/\_\   |____/|_| |_|\__,_|_|\_\___|   v2.0

       by  Santiago Romero Iglesias     (aka NoP/Compiler)
       and Antonio Fernandez Fandos     (c) 12-09-1999


Go to Download section on this page.



WHAT IS XSNAKE

XSnake is the Window version of the SNAKE game (a classic of the 1st arcade games). On this game you move a snake over the screen, collecting apples, which makes the snake larger. After collecting 25 apples, you go to a new level where you get MORE larger for each apple you get. The goal is just to reach the further level you can, collecting the more apples possible, and so, trying to do the best possible score in the hi-score chart. It's something like:

(the games supports English too, by detecting the LANG variable)
It's just a simple and adictive game... it only requires X, Imlib and libjpeg to play, and the entire game is about 70Kb in size... Executing xsnake --help you get the following info: Program usage: xsnake [options] OPTIONS: --help This help. --big Big screen game. --extrabig Extra big screen game. KEYS: Cursors Change snake's direction. ESCAPE Exit game. Space Pause / resume game.


DOWNLOAD SECTION

You can download the latest version of XSNAKE in source code format (tar.gz) on this page: Download
xsnake-2.0.tar.gz (33Kb - requires Imlib) Download xsnake-2.0-1.i386.rpm (33Kb - requires Imlib) Download xsnake-2.0-1.src.rpm (33Kb - requires Imlib) Contains the following: GNU_License Makefile images xsnake.c INSTALL.castellano README.castellano vars.h INSTALL.english README.english xsnake-uninstall Read the INSTALL file to know how to install it (well, it's just make + make install). You can uninstall the program at any moment by running the script xsnake-uninstall.

If someone wants to build RPM or DEB packages for this game, please let me know to include them here... As this is an small (and I hope stable too) game, it will be very nice to include it on Redhat/Suse/Esware/Slack/Debian distributions :)


HOW TO BUILD AND INSTALL XSNAKE

If you got those sources on tar.gz format, unpack them and build the xsnake binary by executing the following (as root): tar xvzf xsnake-2.0.tar.gz cd xsnake-2.0 make make install Maybe you'll just prefer rpm -i or rpm --rebuild from the .i386 or src RPM packages... :-)

TO DO LIST

- Add sound... if someone can add a SoundCard detection routine and .raw or .wav playing functions, I will be very grateful...

 
 
Santiago Romero alias NoP (clave GPG)
http://www.sromero.org
sromero©gmail·com
  Volver al principio de esta página
Ultima actualización: 14-09-2005