A pipe connecting game using libSDL.
A pipe connecting game using libSDL that is playable on Linux PCs and the Sharp Zaurus. Connect as many different shaped pipes together as possible within the time given. Comes with built-in help, is primarily mouse/stylus driven and can be played in different resolutions and orientations.
License: free
Requirements: libSDL
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | no | no | no | no | yes |
Submitted by TheGreenKnight on 2006-05-14.

If you are having difficulties accessing my site go directly via http://www.users.waitrose.com/~thunor/pipepanic/
gcc main.o -lSDL -lSDLmain -o pipepanic
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:98: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [all] Error 1
Ubuntu Hoary
At the top of main.c is #include < SDL/SDL_main.h >. Delete it.
In Makefile in CFLAGS is -Dmain=SDL_main. Remove it.
In Makefile in LIBS is -lSDLmain. Remove it.
Try 'make' again.
This is one of 4 games I've previously written in Javascript and Flash that I would like to convert to SDL. In the process I am creating a useful template for Linux/Zaurus development.
I shall attempt to invent some more entertaining modes of play and add them to a later version :)
Regards.
Some improvements you could do for future versions :
user side
Add an option menu to configure everything
Add sounds (openAL or SDL-mixer)
developement side
Use more files (all the game fits in main.cpp !)
Use a better build system (I recommand Scons or CMake) for checking dependencies and installing the game.
My Highscore is 2890
A mode whereby the user is required to rearrange pre-placed pipes would be similar to NetWalk I believe.
I purposely placed the Help button between Fill and New Game to prevent people clicking the wrong button :) You can fill the pipes by pressing the green start pipe also. Don't forget the High Score text is also a button. The inbuilt help explains all this.
The best strategy for the highest score is to design a pipe network that will accommodate the majority of the pipes you will be given. I have a design I use that regularly gives me 5500+. My high score is now 5895 :p Have a look at the screen-shots on the project's website for ideas.
Regards,
tgk