“Fire retro rockets, prepare for descent.”
Luna simulates landing a lunar lander on the surface of the moon. You have a limited amount of fuel and are descending fast. Burn 5 units of fuel and your speed will remain constant. More than 5 units will slow you, less than 5 will cause your descent to accelerate. Burn too much fuel and you?ll run out. Fall to fast and you?ll crash.
A curious thing about Luna is that it could easily be rewritten to use the stdio.h header functions. Curses is just used to format the output, make it pretty. It?s an interesting project to rewrite it with just stdio.h to see what it looks like.
Luna is by ?whitespace? on the TIGSource forums, written for the TIGSource cockpit compo.

Download and Play
Download eBook page
Download the source code


May 23rd, 2009 - 8:38 pm
A learning AI player for this would be cool.
May 26th, 2009 - 7:51 am
I’m trying to wrap my head around how that would work. What I wouldn’t want, and this is just me, is something that does the same thing every time. I’d like it to mix up it’s strategies a little. But then again, I’m a sucker for punishment when I program.
May 28th, 2009 - 9:57 am
Thanks you for the review/publishing!
May 28th, 2009 - 10:53 am
Hey, man, you made a game worth reviewing/publishing. Kudos to you.
June 3rd, 2009 - 5:38 pm
I’m considering a GUI re-do of this one.
June 3rd, 2009 - 8:11 pm
For a great article about machine learning, see:
http://www.davincigames.it/giocarea_eng/10/profondita.htm