netbeetle.com

Lunar Lander

This is a game I started working on during Christmas break. It is a simple lunar lander game with limited functionality.

To play the game use the arrow keys to control the lunar lander. Arrow key up accelerates the lunar lander in whichever direction it is pointed. Left and right turn the lander. Down returns the lander to upright position. Spacebar (and F3) resets the lunar lander after a successful landing or a crash and restarts the game after pausing (p-key).

Scoring for each successful landing is based on the velocities at impact and that number is taken times the square of the number of screens passed. A large bonus is also awarded for very good landings. The result is then added to the total score. After a crash fuel returns to full and after a landing fuel increases by up to 75% if needed, but no more.

The circular gauge shows the angle of the ship (thick line) the direction the ship is going (thin line) and the current landing conditions (center color). Grey means landing conditions are not meant, red means landing conditions are barely met, yellow adequate, and green indicates a perfect landing.

The source code for the applet is available here. The regular application source file and class files are available in the downloads/programs section.