Subscribe via RSS Become a friend on Facebook Follow me on Twitter

Cymons Games

Luna

May 22nd, 2009

“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.

6 Responses to “Luna”

  1. Alan Monroe

    A learning AI player for this would be cool.


  2. Joe

    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.


  3. WHTSPC

    Thanks you for the review/publishing!


  4. Joe

    Hey, man, you made a game worth reviewing/publishing. Kudos to you.


  5. Alan Monroe

    I’m considering a GUI re-do of this one.


  6. Alan Monroe

    For a great article about machine learning, see:
    http://www.davincigames.it/giocarea_eng/10/profondita.htm


Leave a Reply

Cymons Games. All programs provided without guarantee or warranty. Maintained by Joseph Larson.
If you have any questions or notice something is wrong please contact me. Powered by WordPress.