Lurker News
I’ve been working on this game for the past few weeks. It’s written in plain JavaScript, mostly with canvas, with no dependencies.

The code is here: https://github.com/ehmorris/lunar-lander

Comments (170) 102 threads

keyle#
Good fun. A couple of ideas, zoom in as you approach the landing site, it's hard to see the difference between 4mph and 1mph; and consider having no landing spots, like craters or sharp edges; finally, some slow flying asteroids to avoid every once and a while. Consider planting a little flag from previous landing or tombs on crash sites on restart, to have some continuity. :)
placatedmayhem6 replies#
This feels like an achievement:

  Unbelievable, the crater is visible from Earth

  Score: 190.2 point crash
  Speed: 1612.3mph
  Angle: 98.6°
  Time: 220 seconds
  Flips: 0
  Max speed: 1612.3mph
  Max height: 4534ft
  Engine used: 15 times
  Boosters used: 129 times
  https://ehmorris.com/lander/
ehmorris2 replies#
This is the fastest I've ever seen!
ccoggins2 replies#
Fun game! After climbing to 1 million feet, it took over 500,000 more to finally reverse direction with the ship pointed down and the engines firing.

  Unbelievable, the crater is visible from Earth

  Score: 869.4 point crash
  Speed: 7757.3mph
  Angle: 62.2°
  Time: 1319 seconds
  Flips: 0
  Max speed: 7757.3mph
  Max height: 1549465ft
  Engine used: 11 times
  Boosters used: 351 times
  https://ehmorris.com/lander/
ehmorris4 replies#
Wow, I need to make a new crash blurb

Continue this thread — 4 replies

messe10 replies#
Well, my middle finger is numb, but I beat 1000 points. I took a straight path upward, and then switched to a horizontal -90° burn, slowly shifting to a -135° burn as I got closer to the ground.

    Unbelievable, the crater is visible from Earth

    Score: 1606.2 point crash
    Speed: 14427.6mph
    Angle: 18.9°
    Time: 1567 seconds
    Flips: 14
    Max speed: 14427.6mph
    Max height: 1361872ft
    Engine used: 1 times
    Boosters used: 438 times
    https://ehmorris.com/lander/

Continue this thread — 10 replies

tumidpandora#
Landed in 8 seconds -->

Terrible landing, you need to land slow and straight
Score: 27.9 point landing Speed: 11.3mph Angle: 5.6° Time: 8 seconds Flips: 0 Max speed: 39.0mph Max height: 173ft Engine used: 2 times Boosters used: 5 times https://ehmorris.com/lander/

pmarreck#
I just got:

    Unbelievable, the crater is visible from Earth

    Score: 309.4 point crash
    Speed: 2607.1mph
    Angle: 176.2°
    Time: 293 seconds
    Flips: 0
    Max speed: 2607.1mph
    Max height: 174828ft
    Engine used: 6 times
    Boosters used: 54 times
    https://ehmorris.com/lander/
lol (and now I see others have already beaten this...)
hesk1 reply#
Took it up to 1 million feet, it took another 1.5 million feet to bleed off 4000mph upward acceleration, then turned the pointy end downwards and accelerated.

  Unbelievable, the crater is visible from Earth

  Score: 1117.8 point crash
  Speed: 9876.7mph
  Angle: 177.3°
  Time: 2101 seconds
  Flips: 0
  Max speed: 9876.7mph
  Max height: 2505688ft
  Engine used: 3 times
  Boosters used: 271 times
  https://ehmorris.com/lander/
waltbosz#
I used the same strategy. Same results with the bleed off. I was surprised how much I had to keep correcting my angle on the way up and down.

    Unbelievable, the crater is visible from Earth

    Score: 921.4 point crash
    Speed: 8113.1mph
    Angle: 174.8°
    Time: 1638 seconds
    Flips: 0
    Max speed: 8113.1mph
    Max height: 1686337ft
    Engine used: 417 times
    Boosters used: 603 times
    https://ehmorris.com/lander/
einhverfr#
I now have joined the club too

Unbelievable, the crater is visible from Earth
Score: 314.8 point crash
Speed: 2657.5mph
Angle: 174.1°
Time: 471 seconds
Flips: 0
Max speed: 2657.5mph
Max height: 179734ft
Engine used: 4 times
Boosters used: 83 times
https://ehmorris.com/lander/

Benn1x#
i'm now a club member too Unbelievable, the crater is visible from Earth

Score: 324.3 point crash
Speed: 2900.4mph
Angle: 16.7°
Time: 1943 seconds
Flips: 56
Max speed: 2900.4mph
Max height: 751071ft
Engine used: 14 times
Boosters used: 170 times
https://ehmorris.com/lander/

rahulroy9202#
Not the worst landing, but not very good either

Score: 63.6 point landing Speed: 4.9mph Angle: 4.1° Time: 26 seconds Flips: 0 Max speed: 21.5mph Max height: 236ft Engine used: 30 times Boosters used: 8 times https://ehmorris.com/lander/

lagrange77#

  Perfect landing, incredible, you can’t get better than this

  Score: 99.2 point landing
  Speed: 1.0mph
  Angle: 0.2°
  Time: 52 seconds
  Flips: 0
  Max speed: 31.5mph
  Max height: 389ft
  Engine used: 99 times
  Boosters used: 7 times
  https://ehmorris.com/lander/
I think my initial conditions were advantageous..

Great game!

djmips1 reply#
The amazing thing is all these lunar lander games are harder than actually landing the lunar lander that landed on the moon. That's right it used a computer stabilized system and featured a fully automatic landing program however every lander was actually landed in the semi automatic mode where the pilot controlled the descent but the attitude was still maintained by computer.
lagrange772 replies#
And they used an analog computer to integrate and display the landing trajectory in real-time, just like in this game iirc.
garaetjjte#
Lunar module guidance was fully digital. Analog computer was partially used in Saturn V.

Load more comments