You’ve got a spaceship. There are people who need rescuing. There are aliens that need blow-uping. You’ve got a limited stock of ammo, it’s dark, and you’re wearing sunglasses.
Hit it.
Space Fighter is a simple side scrolling ASCII based shoot-em-up. While the author tries to discourage would be fighter pilots with his warning of bugs the game is solid enough to play right now and simple enough to pick up without much fanfare. There is really no reason not to try this game out. At the same time there’s little more that can be said about it.
Space Fighter was written by James E. Ward.

Download and Play
Download the source code
December 26th, 2009 - 8:41 pm
Fun game. Very addicting. The only bug I’ve noticed is that sometimes the path disappears and you are forced to die. Other than that, I really like this game, and can’t wait to see what it’ll be like when it’s done.
January 11th, 2010 - 8:16 pm
Holy crap!! In my break from the internet I was the featured Christmas game. YAAAY!!!
January 12th, 2010 - 10:02 am
I’ve been wondering where you were. Can’t bring you up on chat, don’t see you around here. I just assumed you didn’t like me any more.
Hah.
January 14th, 2010 - 12:48 pm
You know I would just murder you if I didn’t like you, Joe.
March 11th, 2010 - 8:17 am
Just amazing!
April 1st, 2010 - 6:22 am
I tried to compile it on 32-bit Linux and the compiler spit out about a hundred errors, could it be trouble with gcc?
April 1st, 2010 - 8:26 am
It’s more likely trouble wit the code. Still, tho a hundred errors? I’m guessing it’s less than that. And I’m guessing that if you had copy and pasted the first couple we’d see a bunch of “undefined reference to…”. Those would be linker errors meaning you don’t have curses installed… tho on a Linux machine I’m not sure how that would work. So do copy and paste the first few error and let’s see what we got.
April 10th, 2010 - 7:21 pm
# gcc spacefighter.c
/tmp/cczyzv7i.o: In function `adv’:
spacefighter.c:(.text+0×205): undefined reference to `LINES’
spacefighter.c:(.text+0x21a): undefined reference to `stdscr’
spacefighter.c:(.text+0×225): undefined reference to `wmove’
spacefighter.c:(.text+0×254): undefined reference to `stdscr’
spacefighter.c:(.text+0x25e): undefined reference to `waddch’
spacefighter.c:(.text+0x2f8): undefined reference to `LINES’
…
And ALL of the rest is like that. I have curses installed, but not the devel version. D’oh. Thanks for the help.
April 11th, 2010 - 11:10 am
I can see your problem quite clearly. You’re not linking in curses. This should work:
$ gcc spacefighter.c -lncurses
Of course, that assumes you have ncurses installed in a place where your compiler can find it. And if you don’t want to be running a file called a.out, you can always do this:
$ gcc -o spacefighter spacefighter.c -lncurses
Those commands are untested, but unless I typed something wrong, they should work fine.
April 11th, 2010 - 3:23 pm
I finally got it working, thanks again Ratfink and Joe.