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

Earlier comments
fatneckbeard#
A near-crash, way too fast

Score: 34.7 point landing Speed: 5.2mph Angle: 10.1° Time: 28 seconds Flips: 1 Max speed: 25.5mph Max height: 138ft Engine used: 16 times Boosters used: 19 times https://ehmorris.com/lander/

CyborgCabbage1 reply#
Fun game! It would add more to the game imo if there was a fuel efficiency target as well as angle and speed.
Full_Clark#
Agreed. I tried to get a lot of flips prior to a successful landing, then I realized you can just accelerate upwards to an absurd height and do oodles of flips offscreen before stabilizing to land.

If there were a fuel limit, or if there were some scoring category that showed whether your rocket stayed under a reasonable height, that would make scoring more comparable for everyone.

throwanem1 reply#
As ever, this is the kind of problem I find more fun in programming a computer to solve than in solving myself, by hand. But this is a fun implementation! Good controls, too - it only took me two tries to land, which is better than I ever managed with an Apple II and a keyboard as a kid.
ehmorris#
Making an autopilot would be fun!

Load more comments