14 ms·
Show HN: Lander, a lunar lander style web game
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 https://github.com/ehmorris/lunar-lander
- FuckShadowBans2 4y ago[dead]
- Evidlo 4y agoThe lander disappears as soon as I touch the controls and never crashes. Iceraven 1.14.0/Android 11
- ian0 4y agoGood fun!
- funtoos 4y agogreat game thx
- TeddyDD 4y agoLanded on first try, years of playing Kerbal Space Program have come in handy :D
- amsterdorn 4y agoLove it, great work!
- gwd 4y agoI seem to be running into a bug where the velocity gets mis-matched somehow -- the velocity will be listed as above -12 m/s even though the rocket is actually going up, which obviously makes it impossible to land.
- deleted 4y ago[deleted]
- gkfasdfasdf 4y agoThis game is gorgeous! It would be nice if the left and right thrust controls could be swapped.
- deleted 4y ago[deleted]
- aizyuval 4y agovery good one! Though it wasn't completely clear to me how rating was calculated.
- mebble 4y agoI think you meant to do that 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/ https://ehmorris.com/lander/
- abhaynayar 4y agoReminded me of a game I used to play on Miniclip called UFO Joe!
- squarefoot 4y agoCrashed only once, but for a good one had to practice a dozen times at least. 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 https://ehmorris.com/lander/ https://ehmorris.com/lander/
- chipsld 4y agoNear-perfect landing, super smooth 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/ https://ehmorris.com/lander/
- DonsDiscountGas 4y agoNeat! 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).
- ChicagoBoy11 4y agoFor folks for whom this is scratching an itch, highly recommend you check out Reentry: An Orbital Simulator. It is a beautiful indie passion project trying to faithfully recreate all aspects of the 1960s space era, in which you'd go through the actual steps necessary to operate the aircraft, including the lunar lander. It's awesome in it that it tries to be faithful, like NSSP and things of the nature, while also not cutting corners in the "game-like" parts of the experience, like textures, audio design, missions, VR capability, etc. If you enjoyed this for more than a few minutes, you'll enjoy poking around in it!
- therein 4y agoI played this game on OSX, Windows and Linux using Chrome. 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.
- TurkishPoptart 4y agoi love the confetti/fireworks! great game
- madamelic 4y agoI 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/
- TheMagicHorsey 4y agoGreat fun! 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/ https://ehmorris.com/lander/
- tla2 4y agoNice Game. 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/
- poopsmithe 4y agoLove it. Want more. I would love to see different scenarios and, challenges. Obstacles? different gravity/planets?
- swyx 4y agolove it! 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/
- Psychoshy_bc1q 4y agoUnbelievable, the crater is visible from Earth 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/ https://ehmorris.com/lander/
- helpfulmandrill 4y agoVery addictive. 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.
- kdawson 4y agoStill 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 4y agoReading 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.
- kdawson 4y agoTo counter those occasional asteroids that bizarrely, coincidentally seem to blast through the exact spot where the lander lands — how about adding the ability to take off again once having landed?
- deleted 4y ago[deleted]
- antiquark 4y agoThis is like KSP but without the fun.
- LorenDB 4y agoI wouldn't say without the fun... It makes for a good reinforcement of my landing skillz.
- mousetree 4y agoHad a lot of fun
- playingalong 4y agoNice one. 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).
- gkfasdfasdf 4y agoI felt the same about wanting left-right to be swapped when I played on mobile, and I crashed every time. However, on desktop, the controls feel just right (with the arrow keys) and I landed every time. Could also be related to the vastly larger screen space on desktop.
- playingalong 4y agoAh. Yes. Should've mentioned I was on mobile.
- boomlinde 4y agoI think some games in this style rather have you fire the left thruster with the left arrow key and firing the right thruster with the right arrow key, which kind of makes sense in its own right.
- bornon5 4y agoI agree about the left-right issue. I just can’t get acclimated to the current controls. Lovely game though, still good fun :)
- exebook 4y agoWanted to play, but after the tutorial a first touch makes the ship disappear. When I reload the page, I can see the ship again, and the landing curve, then again if I touch the screen everything disappear except for the stars.
- gavmor 4y agoApparently, it's all about feathering the throttle. Very nice! 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/ 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?
- ehmorris 4y agoYes but you can also compete on using as little throttle/booster as possible! IMO the perfect landing is one where you engage the engine at the exact right moment to touch down at <1mph, and you engage a booster only once in order to be upright. Engine and booster use aren't part of the score though. 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!
- moron4hire 4y agoYeah, but how many times can you flip the rocket?
- lagrange77 4y ago> IMO the perfect landing is one where you engage the engine at the exact right moment to touch down at <1mph, and you engage a booster only once in order to be upright. Would be interesting to see, if optimal control would do just that or use many short bursts.
- nfriend 4y agoLove it! It's like a cross between Flappy Bird and Asteroids. Nice tutorial at the beginning, too. Just managed to get a 98.5, which I think was mostly luck.
- LorenDB 4y agoI'd love to see an indicator showing how quickly you are rotating. That would make the final touchdown a lot easier to get straight, IMO. Also, could the trajectory stay visible at all times? That would help plan burns better.
- ehmorris 4y agoIf you clone the repo and remove this condition you can try the trajectory at all times: https://github.com/ehmorris/lunar-lander/blob/master/lander/lander.js#L337-L346 https://github.com/ehmorris/lunar-lander/blob/master/lander/... 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!
- warent 4y agoPretty fun! I like trying to make as many flips as possible: 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
- nedt 4y agoFlipping is really fun. If you do really many you'll get the color particles in straight lines coming down: Unbelievable, the crater is visible from Earth Score: 143.9 point crash Speed: 1259.8mph Angle: 35.0° Time: 629 seconds Flips: 1709 Max speed: 1259.8mph Max height: 44983ft Engine used: 1 times Boosters used: 58 times
- russellbeattie 4y agoI went up to 20,000+ feet, flipped 1000+ times, but then didn't land it. I couldn't get it to stop flipping before it crashed.
- varyherb 4y agoSame Just shy of a good landing Score: 78.3 point landing Speed: 5.5mph Angle: 0.3° Time: 577 seconds Flips: 206 Max speed: 302.4mph Max height: 12012ft Engine used: 69 times Boosters used: 89 times
- djmips 4y agoMy best is 22 flips. I did them on screen.
- siliconsorcerer 4y agoHad a ton of fun with this :) thanks!
- ziedaniel1 4y agoI enjoyed the easter eggs!
- pmx 4y agoHad a great time seeing how fast I could make it go! 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/ https://ehmorris.com/lander/
- ehmorris 4y agoVery nice, did you hear the baby at the 400mph mark?
- pmx 4y agoI did wonder what that sound was!
- ehmorris 4y agoThat’s my baby
- basicallydan 4y agoThis is adorable. 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!
- minitoar 4y agolol I sort of thought that was my baby on the monitor
- bxparks 4y agoAwesome, the highest crash landing speed I was able to achieve was 97.7 MPH after about 20-30 attempts.
- deleted 4y ago[deleted]
- bxparks 4y agoI went off screen, turned around and crashed at 394.6 MPH.
- ehmorris 4y agoThis, and going sideways really really fast is the way. The highest I've seen is 1500mph.
- bxparks 4y agoI crashed at 2499.1 mph by going sideways for a long long time. How accurate is your physics? If I hit orbital velocity, will I just orbit the moon? What if I hit escape velocity?
- ehmorris 4y agoThat is amazing. Not accurate at all really, unless the moon was an infinite plane I guess. If you hit escape velocity you'll never land!
- deleted 4y ago[deleted]
- placatedmayhem 4y agoThis feels like an achievement: 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/
- einhverfr 4y agoI now have joined the club too 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/ https://ehmorris.com/lander/
- Benn1x 4y agoi'm now a club member too Unbelievable, the crater is visible from Earth 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/ https://ehmorris.com/lander/
- rahulroy9202 4y agoNot the worst landing, but not very good either 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/ https://ehmorris.com/lander/
- ehmorris 4y agoThis is the fastest I've ever seen!
- ccoggins 4y agoFun game! After climbing to 1 million feet, it took over 500,000 more to finally reverse direction with the ship pointed down and the engines firing. Unbelievable, the crater is visible from Earth Score: 869.4 point crash Speed: 7757.3mph Angle: 62.2° Time: 1319 seconds Flips: 0 Max speed: 7757.3mph Max height: 1549465ft Engine used: 11 times Boosters used: 351 times https://ehmorris.com/lander/
- deleted 4y ago[deleted]
- marcodiego 4y agoSuggestion of improvement: landing should only be successful if lateral velocity is inside a limit.
- ehmorris 4y agoLateral velocity should be taken into account since I'm taking the vector of the x/y velocity. It's just that it needs to be under 12mph, so you can be going pretty fast laterally.
- timbeccue 4y agoLove this! Very simple and creative. 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/
- sporadicallyjoe 4y agoTons of fun aiming for the different types of high scores. Here are mine: 131 point crash - https://i.ibb.co/YdJ1c8B/131.png https://i.ibb.co/YdJ1c8B/131.png 426 max speed landing - https://i.ibb.co/5k5Csjt/Max-Speed426.png https://i.ibb.co/5k5Csjt/Max-Speed426.png
- frutiger 4y agoUnbelievable, the crater is visible from Earth 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/
- markm248 4y agoWay more fun if you try to see high you can get your crash score. 26.3 personal best
- boomlinde 4y agoI like this kind of game, and this is perfect for a short diversion! This is the best I can muster for now: 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/
- jefc1111 4y agoFun! I'd like to get a bonus for rotations in both directions.
- ehmorris 4y agoI had a 1 point bonus for flips in the score but ended up removing it because it felt too overpowered. But! Having a good score AND flips is impressive in itself.
- dsego 4y agoHow is this a crash, because of the angle? 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/
- moffkalast 4y ago> Angle: 12.2° What is this, Apollo 15?
- ehmorris 4y agoYep the angle can't exceed 12
- dsego 4y agoNew personal best! Very nice landing, amazing Score: 92.2 point landing Speed: 0.5mph Angle: 2.2° Time: 25 seconds Flips: 0 Max speed: 25.8mph Max height: 221ft Engine used: 27 times Boosters used: 25 times
- throwbadubadu 4y agoBeaten, a bit, but beaten! Very nice landing, amazing Score: 93.9 point landing Speed: 2.2mph Angle: 0.1° Time: 17 seconds Flips: 0 Max speed: 24.4mph Max height: 236ft Engine used: 9 times Boosters used: 15 times
- dsego 4y agoNear-perfect landing, super smooth Score: 95.4 point landing Speed: 2.0mph Angle: 0.0° Time: 21 seconds Flips: 0 Max speed: 32.0mph Max height: 221ft Engine used: 34 times Boosters used: 16 times https://ehmorris.com/lander/ https://ehmorris.com/lander/
- bluedonuts 4y agoBasically a fender bender, but you landed 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/ https://ehmorris.com/lander/
- QuiCasseRien 4y agoExtremly addictive p
- FigmentEngine 4y ago671 flips, lol
- lagrange77 4y agoPerfect 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!
- chrisweekly 4y agoAwesoem job! Thanks for sharing!!
- deleted 4y ago[deleted]
- djmips 4y agoThe amazing thing is all these lunar lander games are harder than actually landing the lunar lander that landed on the moon. That's right it used a computer stabilized system and featured a fully automatic landing program however every lander was actually landed in the semi automatic mode where the pilot controlled the descent but the attitude was still maintained by computer.
- lagrange77 4y agoAnd they used an analog computer to integrate and display the landing trajectory in real-time, just like in this game iirc.
- garaetjjte 4y agoLunar module guidance was fully digital. Analog computer was partially used in Saturn V.
- 7373737373 4y agoInteresting talk about it and the landing process: https://youtube.com/watch?v=B1J2RMorJXM https://youtube.com/watch?v=B1J2RMorJXM
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- keyle 4y agoGood fun. A couple of ideas, zoom in as you approach the landing site, it's hard to see the difference between 4mph and 1mph; and consider having no landing spots, like craters or sharp edges; finally, some slow flying asteroids to avoid every once and a while. Consider planting a little flag from previous landing or tombs on crash sites on restart, to have some continuity. :)
- zamadatix 4y agoCrashing sideways is fun, the exploded parts continue to wrap around the screen if you "land" sideways fast enough :D.
- _tom_ 4y agoLeft and right are backwards on a phone. I'm sure I'd adapt after a few more games, but it's annoying.
- keraf 4y agoAwesome game! Really addictive :-) 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
- CyborgCabbage 4y agoFun game! It would add more to the game imo if there was a fuel efficiency target as well as angle and speed.
- Full_Clark 4y agoAgreed. 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.
- MiskaMaki 4y agoGreat game! For me, controlling the rocket was not that handy, somehow I always wanted to press the opposite button. Will be a option to swap the left and right buttons? That would be great! :)
- tumidpandora 4y agoTerrible landing, you need to land slow and straight Time: 8 seconds Flips: 0 Max speed: 39.0mph Max height: 173ft Engine used: 2 times Boosters used: 5 times
- elwell 4y agoHere's a lunar landing copy I made 15+ years ago, Java *applet*: https://github.com/celwell/space-landing https://github.com/celwell/space-landing
- joshuaheard 4y agoGreat game. It took me a while to figure out how to start the game. I'd put a "Press space bar to start" somewhere.
- thewebcount 4y agoOn an iPad, it’s very hard to hit the left/center/right targets accurately. I got some successful landings, but there was a lot of, “No I said center, not left… no, center, not right… ah crap!” If there were keyboard controls, that would help, I think.
- ehmorris 4y agoThere are! You can use the arrow keys. It should work even when there’s touch support. I’ve also thought about moving the boosters all to one side.
- Full_Clark 4y agoI think for mobile interfaces it might be easier to have the engine as the top half of the screen and the boosters as the bottom L/R quarters. That way you could use one thumb each for roll inputs and an index finger for thrust, without having to be very precise about aiming your taps.
- thewebcount 4y agoOh, great! Thank you! I must have missed that in the instructions.
- georgehill 4y agowell spent 10min, this is a good game!
- perilunar 4y agoNice work! 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)
- deleted 4y ago[deleted]
- the42thdoctor 4y agoGreat game, why can't it go on all directions ? lef, right, down AND UP ?
- zoklet-enjoyer 4y agoIt took a lot of tries, but I just barely made it eventually! Btw I'm on my Pixel 7 and it works better than I'd like expected on a phone. Seems like it'd be easier with a keyboard though? 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 https://ehmorris.com/lander/ https://ehmorris.com/lander/
- watmough 4y agoSweet game! 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/
- deleted 4y ago[deleted]
- jzer0cool 4y agoEnjoyed playing! Controls are smooth. Would you mind sharing tech used to design the game and exported to html?
- ehmorris 4y agoNo tech, I wrote it all in plain JavaScript, HTML, and CSS. Check out the repo!
- throwanem 4y agoAs 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 4y agoMaking an autopilot would be fun!
- visika 4y agoUnbelievable, the crater is visible from Earth 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 https://ehmorris.com/lander/ https://ehmorris.com/lander/ It's 1 AM, I need to go to sleep...
- mjw_byrne 4y agoI feel like the lunar landing aspect is incidental, and this is fundamentally a "impossible-to-please parent for whom nothing is ever good enough" simulator :-)
- Dave_Rosenthal 4y agoTried to get a good landing with as few control actions as possible. For a simple new scoring system, subtract your number of control actions from your landing score: 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.
- plaidfuji 4y agoI was trying the same and this is super impressive… only 1 main engine fire??? I think this is actually part of the constraints of the real world landing problem.
- Dave_Rosenthal 4y agoYeah, first thing I did was to try to get a feel for when I needed to hit the main engine. Executing a landing with 1 or 2 fires I can do with some regularity. Getting the boosters to 1 or 2 is very hard due to initial conditions, but 3 to 5 is also somewhat doable. All of it coming together for a 90 point landing involved some luck for sure.
- nfriend 4y agoThink I found a bug! Left the tab (on Firefox mobile on Android) and then revisited it, and now it says: "Perfect landing, incredible, you can't get better than this" with a score of 102.3 (I'm assuming 100 is supposed to be the max score?).
- ehmorris 4y agoI think this means you “landed” at 0mph. No idea how this would have happened in the background though…
- DougMerritt 4y agoIf I understand correctly, I think they mean that the bug is that they achieved a perfect landing by leaving the tab. I think.
- tillcarlos 4y agoCouple of great UX things I’ve found - 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!
- ehmorris 4y agoMostly thanks to my friends for play testing it!
- pugworthy 4y agoIt would be nice if the "how to play" screen gave keyboard equivalents. I was about to give up trying to play until I saw someone's comment about arrow keys.
- Shared404 4y agoFor me (Firefox, Linux) it did give keyboard instructions on the how to play screen.
- ehmorris 4y agoThis is tricky on laptops with touchscreens and keyboards, and iPads with keyboards. Seems there’s no good way to ask “is there a keyboard attached” or “what is the primary input method.” So I have to pick one set of instructions to show based on a guess, even though both inputs are acceptable.
- deleted 4y ago[deleted]
- maxverse 4y agoLoved the soundtrack, too! Very fitting.
- fatneckbeard 4y agoA 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/ https://ehmorris.com/lander/
- Sn0wCoder 4y agoNice job on the game! Fully usable on my iPhone and only took me like 7 tries to actually land. Bookmarked to study the code and learn how you achieved such a nice end result. Thanks for posting.
- outside1234 4y agoVERY FUN
- davidw 4y agoPlaying the lunar lander game on a Commodore PET is one of my earliest computer memories.
- 7373737373 4y agoI created a discrete (and less realistic) version of this concept here: https://qewasd.com/ 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 https://github.com/void4/qewasd
- drewg123 4y agoDoesn'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
- joveian 4y agoYou'll never improve on Astro Chicken :). Seriously, I loved that game when Space Quest III came out, although it seems others had quite a different experience. https://www.youtube.com/watch?v=Zgt17LwmT7c https://www.youtube.com/watch?v=Zgt17LwmT7c
- geuis 4y agoFun. Weird that controls are reversed (left/right).
- johnklos 4y agoNeat, and fun! But why does it consume 100% CPU when sitting at the results screen?
- wbillingsley 4y agoGive this one a go, you know you want to... https://theintelligentbook.com/thinkingaboutprogramming/#/decks/state/9/fullscreen https://theintelligentbook.com/thinkingaboutprogramming/#/de... (programmable lander)
- LastTrain 4y agoI'm going to give you some feedback like your game did me: pretty bad lunar lander game, but it could be worse! Just kidding, I played it a bunch of times pretty fun.
- anshumankmr 4y agoJust landed safely, so think I am sending my resume to NASA for the upcoming Moon mission. https://imgur.com/a/Qq5lqOm https://imgur.com/a/Qq5lqOm
- moffkalast 4y agoNASA here, your resume got thrown out for not having speed in the green area. Better luck next time.
- sgt 4y agoWe want you to take Trump to the moon. Show him some craters in order to find suitable spots for new cities.
- Proven 4y ago[dead]
- xeornet 4y agoIt seems that higher refresh rate screens make this game significantly harder..
- yesenadam 4y agoI found the font saying the speed and angle were much too small to read, and hard to read against the background anyway, so it was unplayable. No one else seems to have had that problem! macOS 12.5, firefox, 24 inch 1920x1080 display - pretty normal sized. Maybe it works on a phone. I tried zooming in but then I couldn't see the ground, and the font didn't get bigger.
- ehmorris 4y agoThanks for the feedback, I ought to just make the font responsive on larger screens. I will get to it!