Show HN: Lander, a lunar lander style web game (ehmorris.com)
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
183 comments
[ 3.1 ms ] story [ 236 ms ] threadThe left-right feel swapped to me, but I fail to give a factual reason.
Also reminds me of two 90s era DOS games: Ugh and some other about landing on Moon. Similar to yours, but the lander looked like a small tower/crate (for lack of better description).
Near-perfect landing, super smooth
Score: 96.5 point landing Speed: 1.1mph Angle: 0.7° Time: 45 seconds Flips: 0 Max speed: 43.7mph Max height: 256ft Engine used: 73 times Boosters used: 37 times https://ehmorris.com/lander/
---
I see it took you about seven months from "Initial Commit" to its current state. How did you stay on track all that time?
The older commits were part of a previous idea that I abandoned, then a few weeks ago I deleted almost everything and gave it another try.
Thanks for playing!
Would be interesting to see, if optimal control would do just that or use many short bursts.
Just managed to get a 98.5, which I think was mostly luck.
Also, could the trajectory stay visible at all times? That would help plan burns better.
IMO it looked like a big noodle, and the "needle" at the bottom bounces around distractingly. Plus, without the help all the time, it's a little harder!
Impressive speed, impressive angle - you crashed with style
Score: 89.2 point crash Speed: 761.4mph Angle: 41.4° Time: 82 seconds Flips: 0 Max speed: 761.4mph Max height: 344ft Engine used: 97 times Boosters used: 45 times https://ehmorris.com/lander/
Great game! I got a 95 point landing after a good few goes then I saw all the fun people were having with the crashes so I joined in. Great job!
https://www.owsiak.org/i-just-could-not-help-myself-lander-i...
(8s was the best I managed but still a "fender bender").
Daily Challenge #5 8.4 point crash
3.2mph | 82.2° | 0 flips So, so close to a landing, but still a crash
https://ehmorris.com/lander/ 0 seconds Max: 3.2mph | 12ft Game size: 191x57
1h40m for it though..., that's an extra 1h15m for just 800mph more. With some tweaking of your initial launch angle (get it somewhere between 40-60° rather than 0° which is what I'm assuming yours was, correct me if I'm wrong), plus maybe a second fine-tuning once you reach apolune, I'd guesstimate you could make 25000mph in ~3000 seconds.
I had included a message at 10k, for a friend that I had expected to check the js source, but to my surprise a non-programmer friend send me a screenshot of it. He just kept clicking "to see if something would happen".
If only I had thought to turn it into an app with some ads at the time, there's a whole idle game genre these days. In some situations people will go to surprising lengths for a basically meaningless and pointless payoff. I still enjoy driving off the map in Trackmania myself. Takes almost an hour, but it's very zen.
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/
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/
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/
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/
131 point crash - https://i.ibb.co/YdJ1c8B/131.png 426 max speed landing - https://i.ibb.co/5k5Csjt/Max-Speed426.png