Crash_landing_screenshot

Crash Landing

Tilt your iPhone to land your shuttle safely on a platform on the moon.

Install Now!

Control your shuttle using the accelerometer. Tilt your iPhone up and down to control thrust and speed. Tilt your phone left and right to control angle and position. You have to slowly land your shuttle upright on the platform. If you run out of fuel, gravity will not be your friend. Tap the screen to start a new game.

This game is nearly impossible to win. It took me about 25 tries before I landed successfully, and I think I just got lucky. If your life is filled with too much success and pleasure, try this game.

This application was provided as sample code for iPhone developers. Somebody far more talented than me made this application and I take absolutely no credit for it. I just think it's cool enough that it should be distributed for free.

The code license states that developers may "modify and redistribute the Apple Software, with or without modifications, in source and/or binary forms". I'm distributing it unmodified for the world to enjoy.

Sometimes the accelerometer stops working and you can't control the shuttle. Just quit and relaunch the app.

How is the score determined?

Your score is based on your velocity, fuel level, rotation, and distance from the middle of the landing base at the time you land. You'll get more points if you have more fuel left when you land, you'll get more points the less your lander is rotated, you'll get more points the closer you are to the middle of the landing base, and you'll get more points the slower you are moving downward at the time you land.

Here's the actual formula (but don't worry too much about it, it's a little complicated):
score = kScoreVelocity * (1.0 - _velocity.y / -kMaxVelocity) + kScoreFuel * (_fuel / kInitialFuel) + kScoreRotation * (1.0 - _rotation / kMaxRotation) + kScoreDistance * (1.0 - fabsf(_position.x - _basePosition) / maxDistance);

Where:
kScoreVelocity = 4000
kScoreFuel = 2500
kScoreRotation = 2000
kScoreDistance = 1500
kMaxVelocity = 75
kMaxRotation = 8
kInitialFuel = 4

What are your other apps?
Path Tracker icon   Path Tracker - Record your path as you move, save it to the web, and share it with friends!
Medical Calculator icon   Medical Calculator helps doctors and nurses compute useful formulas and equations.
Normal Lab Values icon   Normal Lab Values helps medical professionals interpret test results.
RSI icon   RSI provides quick access to the rapid sequence intubation procedure.
Vaccines icon   Vaccines shows immunization schedules recommended by the CDC.
Sedation icon   Sedation supplies procedural sedation and analgesia information.
Lab Unit Converter icon   Lab Unit Converter converts lab values between USA units and SI units.
Jaundice icon   Jaundice helps clinicians apply the AAP guidelines for neonatal hyperbilirubinemia.
Patient Tracker icon   Patient Tracker helps you track information about your patients, including history & physical (H&P) and daily notes.
Visage Login icon   Visage Login lets you quickly and safely customize your Mac OS X login screen.
PowerController icon   PowerController, the iTunes alarm clock - Wake up to your favorite music.

What if I have other questions?

Feel free to contact me.