Lunar Lander Applet

Do you have the right stuff to land softly? Use the up and down arrow keys for throttle. Hit the 'a' key for autopilot. Requires Java 1.5 or later.

You need a Java-enabled browser to see the applet.

Lunar Lander Applet.

Must land at two meters per second or slower to avoid a crash. The default starting throttle setting is 50%. As fuel is consumed, mass decreases, making the throttle touchier. Consume all the fuel, and it will flame out. Fly too high and it will crash with a very high velocity (see the browser status line (usually at the bottom of the browser pane) for the contact velocity.

This Java source code is for educational purposes only. Viewing or downloading the source implies your consent to obey the restrictions:

  1. Use the source code for educational purposes only.
  2. Give appropriate attribution in all executables and listings derived from this source.
  3. Reproduce these restrictions and conditions in any derived programs.

I agree to the restrictions and conditions on the source code.

Version 1.08 fixes the "zero throttle start flame off bug." Thanks to Captain for reporting it!

Version 1.09 adds the feature to use the spacebar for button action for "hands-off-the-mouse" operation (for pilots with the right stuff).

Version 1.10 (July 7, 2008) incorporates finer granularity of the flame length for a more natural feel.

Links


This page established October 28, 2001; last updated July 13, 2010 by Rick Wagner. Copyright © 2001-2010, all rights reserved.