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
7373737373#
I created a discrete (and less realistic) version of this concept here: https://qewasd.com/ ("Lunar Landing" challenge) - try to get a score as close to 0 as possible!

Some people have managed to use MILP solvers to optimally solve some of the other problems
Code here: https://github.com/void4/qewasd

kdawson1 reply#
Still addicted. Two suggestions: 1. Factor in time to landing in the score; faster times score higher. 2. Add an option to make the meteor debris damaging.
kdawson#
Reading more of the discussion, I withdraw the suggestion of incorporating time into the score. It's rendered moot by both the window height and (potentially) the computer clock speed affecting the timing.
drewg1231 reply#
Doesn't work for me. I can't get past "2 arrows at the same time". I press them, and see flame from both side thrusters, but the game doesn't register that I've done 2 arrows, and does not let me play. Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
joebig1 reply#
2 arrows: up and any of the lateral thrusters together ;)
drewg1231 reply#
Ah, thank you! I feel like a fool. I was assuming any 2 arrows. Now it works :)
ehmorris#
Ah I will update the wording!
TeddyDD#
Landed on first try, years of playing Kerbal Space Program have come in handy :D

Load more comments