Show HN: Lander, a lunar lander style web game (opens in a new tab)ehmorris.com
564 pointsI’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- the game doesn’t let you play without knowing how to use the controls, and it shows them in real time - whenever you tap, the tap area lights up.
Small Details that make a difference!
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.
One thing that would be interesting would be a mode where you have limited fuel.
Also, the ability to set different buttons would be good. Towards the end of the landing I want to use one hand for left-right, and the other for the booster rocket, and this is awkward.
All comments shown.
Couldn't load more comments. Check your connection and try again.