by ehmorris on 3/5/23, 6:35 PM with 170 comments
The code is here: https://github.com/ehmorris/lunar-lander
by keyle on 3/5/23, 10:57 PM
by placatedmayhem on 3/5/23, 8:56 PM
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/
by lagrange77 on 3/5/23, 10:24 PM
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!
by djmips on 3/5/23, 10:53 PM
by playingalong on 3/5/23, 8:06 PM
The 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).
by kdawson on 3/18/23, 3:07 PM
by ChicagoBoy11 on 3/6/23, 7:50 PM
by joveian on 3/6/23, 3:32 AM
by 7373737373 on 3/6/23, 1:57 AM
Some people have managed to use MILP solvers to optimally solve some of the other problems
Code here: https://github.com/void4/qewasd
by kdawson on 3/17/23, 6:55 PM
by drewg123 on 3/6/23, 2:02 AM
by TeddyDD on 3/6/23, 10:12 AM
by warent on 3/5/23, 8:37 PM
Basically a fender bender, but you landed
Score: 45.4 point landing
Speed: 3.5mph
Angle: 9.5°
Time: 62 seconds
Flips: 18
Max speed: 86.8mph
Max height: 1276ft
Engine used: 32 times
Boosters used: 55 times
by dsego on 3/5/23, 9:43 PM
So, so close to a landing, but still a crash
Score: 1.6 point crash
Speed: 2.5mph
Angle: 12.2°
Time: 20 seconds
Flips: 0
Max speed: 34.5mph
Max height: 221ft
Engine used: 20 times
Boosters used: 14 times
https://ehmorris.com/lander/
This is my best attempt for now: A good landing, keep trying
Score: 84.1 point landing
Speed: 4.5mph
Angle: 0.0°
Time: 23 seconds
Flips: 0
Max speed: 32.5mph
Max height: 221ft
Engine used: 26 times
Boosters used: 13 times
https://ehmorris.com/lander/
by Dave_Rosenthal on 3/6/23, 12:21 AM
Very nice landing, amazing
Score: 90.5 point landing
Speed: 2.9mph
Angle: 0.2°
Time: 18 seconds
Flips: 0
Max speed: 53.7mph
Max height: 425ft
Engine used: 1 times
Boosters used: 3 times
So, a score of 86.5 in the new system.by boomlinde on 3/5/23, 9:32 PM
Very nice landing, amazing
Score: 90.1 point landing
Speed: 2.8mph
Angle: 0.4°
Time: 9 seconds
Flips: 0
Max speed: 38.7mph
Max height: 240ft
Engine used: 10 times
Boosters used: 10 times
https://ehmorris.com/lander/
by sporadicallyjoe on 3/5/23, 9:21 PM
131 point crash - https://i.ibb.co/YdJ1c8B/131.png 426 max speed landing - https://i.ibb.co/5k5Csjt/Max-Speed426.png
by pmx on 3/5/23, 8:42 PM
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/
by chipsld on 3/6/23, 4:16 PM
Score: 97.5 point landing Speed: 1.4mph Angle: 0.2° Time: 17 seconds Flips: 0 Max speed: 53.3mph Max height: 377ft Engine used: 15 times Boosters used: 12 times https://ehmorris.com/lander/
by timbeccue on 3/5/23, 9:15 PM
A solid “C” landing
Score: 71.9 point landing
Speed: 4.7mph
Angle: 2.5°
Time: 276 seconds
Flips: 27
Max speed: 114.4mph
Max height: 1323ft
Engine used: 58 times
Boosters used: 63 times
https://ehmorris.com/lander/
by marcodiego on 3/5/23, 9:08 PM
by nfriend on 3/6/23, 12:31 AM
by madamelic on 3/7/23, 1:44 AM
I don’t think we’re getting back to Earth
Score: 34.4 point crash
Speed: 187.5mph
Angle: 122.8°
Time: 88 seconds
Flips: 7
Max speed: 187.5mph
Max height: 2336ft
Engine used: 11 times
Boosters used: 49 times
https://ehmorris.com/lander/
Amazing. A fast crash, but it could be faster
Score: 82.9 point crash
Speed: 689.8mph
Angle: 56.2°
Time: 79 seconds
Flips: 0
Max speed: 689.8mph
Max height: 725ft
Engine used: 3 times
Boosters used: 46 times
https://ehmorris.com/lander/
by DonsDiscountGas on 3/6/23, 6:04 PM
Couple thoughts:
* I first played this on my phone and the controls are basically backwards, touching right side of screen activates left booster. May be a subjective preference but when I went to a desktop and used the arrow keys (right key -> right booster) that was way more intuitive.
* Does it consider sideways velocity in judgment? Like 5MPH up and down vs a little bit sideways.
* For the love of Smoot please let me change to metric. Angles in radians would be fun too.
Dunno how much complexity you want to add, but limited fuel would be a nice challenge to add. Or landing spot which is moving (up and down or sideways).
by Psychoshy_bc1q on 3/10/23, 9:34 AM
Score: 198.9 point crash Speed: 1,600.2mph Angle: 179.0° Time: 336 seconds Flips: 2 Max speed: 1,600.2mph Max height: 55,433ft Engine used: 7 times Boosters used: 97 times https://ehmorris.com/lander/
by anshumankmr on 3/6/23, 5:28 AM
by Sn0wCoder on 3/6/23, 1:31 AM
by visika on 3/6/23, 12:07 AM
Score: 465.6 point crash
Speed: 4010.5mph
Angle: 178.0°
Time: 986 seconds
Flips: 509
Max speed: 4010.5mph
Max height: 409430ft
Engine used: 4 times
Boosters used: 126 times
It's 1 AM, I need to go to sleep...
by tillcarlos on 3/6/23, 12:40 AM
- 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!
by gavmor on 3/5/23, 8:16 PM
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?
by helpfulmandrill on 3/10/23, 3:45 PM
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.
by yesenadam on 3/6/23, 7:48 AM
by tla2 on 3/7/23, 8:29 PM
Perfect landing, incredible, you can’t get better than this
Score: 99.3 point landing
Speed: 0.2mph
Angle: 1.0°
Time: 22 seconds
Flips: 0
Max speed: 33.6mph
Max height: 227ft
Engine used: 12 times
Boosters used: 11 times
https://ehmorris.com/lander/
by TheMagicHorsey on 3/7/23, 1:22 PM
Terrible landing, you need to land slow and straight
Score: 18.6 point landing Speed: 10.0mph Angle: 8.9° Time: 23 seconds Flips: 0 Max speed: 22.5mph Max height: 248ft Engine used: 25 times Boosters used: 16 times https://ehmorris.com/lander/
by joshuaheard on 3/5/23, 11:42 PM
by mebble on 3/6/23, 2:33 PM
Score: 75.8 point crash Speed: 509.3mph Angle: 172.9° Time: 101 seconds Flips: 0 Max speed: 509.3mph Max height: 6618ft Engine used: 8 times Boosters used: 42 times https://ehmorris.com/lander/
by zoklet-enjoyer on 3/6/23, 12:03 AM
A near-crash, way too fast
Score: 35.0 point landing
Speed: 9.7mph
Angle: 5.6°
Time: 8 seconds
Flips: 0
Max speed: 35.9mph
Max height: 197ft
Engine used: 2 times
Boosters used: 6 times
by bluedonuts on 3/5/23, 9:45 PM
Score: 53.6 point landing Speed: 9.8mph Angle: 1.4° Time: 566 seconds Flips: 182 Max speed: 635.2mph Max height: 62510ft Engine used: 109 times Boosters used: 145 times https://ehmorris.com/lander/
by frutiger on 3/5/23, 9:30 PM
Score: 345.1 point crash
Speed: 2928.9mph
Angle: 175.6°
Time: 696 seconds
Flips: 28
Max speed: 2928.9mph
Max height: 299886ft
Engine used: 37 times
Boosters used: 194 times
https://ehmorris.com/lander/
by fatneckbeard on 3/6/23, 1:27 AM
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/
by CyborgCabbage on 3/5/23, 11:15 PM
by throwanem on 3/6/23, 12:07 AM
by watmough on 3/6/23, 12:05 AM
Near-perfect landing, super smooth
Score: 95.5 point landing
Speed: 1.9mph
Angle: 0.1°
Time: 57 seconds
Flips: 0
Max speed: 31.6mph
Max height: 147ft
Engine used: 82 times
Boosters used: 33 times
https://ehmorris.com/lander/
by keraf on 3/5/23, 11:07 PM
Perfect landing, incredible, you can’t get better than this
Score: 101.1 point landing
Speed: 0.7mph
Angle: 0.1°
Time: 26 seconds
Flips: 0
Max speed: 32.4mph
Max height: 194ft
Engine used: 53 times
Boosters used: 30 times
by wbillingsley on 3/6/23, 3:53 AM
https://theintelligentbook.com/thinkingaboutprogramming/#/de...
(programmable lander)
by bxparks on 3/5/23, 8:39 PM
by gkfasdfasdf on 3/6/23, 12:28 PM
by thewebcount on 3/5/23, 11:46 PM
by gwd on 3/6/23, 12:19 PM
by exebook on 3/5/23, 8:11 PM
by LorenDB on 3/5/23, 8:33 PM
Also, could the trajectory stay visible at all times? That would help plan burns better.
by squarefoot on 3/6/23, 2:55 PM
A good landing, keep trying
Score: 82.2 point landing
Speed: 4.3mph
Angle: 0.7°
Time: 17 seconds
Flips: 0
Max speed: 34.7mph
Max height: 210ft
Engine used: 7 times
Boosters used: 7 times
by elwell on 3/5/23, 11:34 PM
by MiskaMaki on 3/5/23, 11:24 PM
by swyx on 3/10/23, 7:25 AM
A good landing, keep trying
Score: 83.5 point landing
Speed: 3.8mph
Angle: 0.8°
Time: 44 seconds
Flips: 0
Max speed: 32.1mph
Max height: 257ft
Engine used: 25 times
Boosters used: 19 times
https://ehmorris.com/lander/
by ziedaniel1 on 3/5/23, 8:41 PM
by therein on 3/6/23, 10:28 PM
The game is a lot easier and a lot more enjoyable to play on OSX. I reckon it has something to do with the input handling.
by poopsmithe on 3/9/23, 5:37 AM
by LastTrain on 3/6/23, 4:14 AM
by pugworthy on 3/6/23, 12:41 AM
by mjw_byrne on 3/6/23, 12:19 AM
by perilunar on 3/5/23, 11:56 PM
I think speed should be in ft/s to match height in ft. IIRC on Apollo they used ft/s for descent speeds. (an option for metric would be nice also)
by nfriend on 3/5/23, 8:19 PM
Just managed to get a 98.5, which I think was mostly luck.
by zamadatix on 3/5/23, 10:59 PM
by tumidpandora on 3/5/23, 11:26 PM
Time: 8 seconds
Flips: 0 Max speed: 39.0mph Max height: 173ft Engine used: 2 times Boosters used: 5 times
by _tom_ on 3/5/23, 11:01 PM
by mousetree on 3/5/23, 8:01 PM
by jzer0cool on 3/6/23, 12:07 AM
by maxverse on 3/6/23, 12:51 AM
by Evidlo on 3/5/23, 9:39 PM
by siliconsorcerer on 3/5/23, 8:37 PM
by davidw on 3/6/23, 1:48 AM
by markm248 on 3/5/23, 9:30 PM
by xeornet on 3/6/23, 7:22 AM
by the42thdoctor on 3/6/23, 12:10 AM
by abhaynayar on 3/6/23, 2:39 PM
by jefc1111 on 3/5/23, 9:42 PM
by johnklos on 3/6/23, 3:48 AM
But why does it consume 100% CPU when sitting at the results screen?
by geuis on 3/6/23, 3:39 AM
by aizyuval on 3/6/23, 1:15 PM
by chrisweekly on 3/5/23, 10:37 PM
by amsterdorn on 3/6/23, 11:20 AM
by QuiCasseRien on 3/5/23, 10:59 PM
by TurkishPoptart on 3/6/23, 11:45 PM
by georgehill on 3/5/23, 11:51 PM
by FigmentEngine on 3/5/23, 10:11 PM
by ian0 on 3/6/23, 8:20 AM
by outside1234 on 3/6/23, 1:43 AM
by funtoos on 3/6/23, 9:57 AM
by antiquark on 3/5/23, 8:00 PM