lunar-lander-autopilot

Games

browser game autopilot

SHOW HN2023

277points
69comments
#173of 3,109 in 2023
Top 6%of 2023 by points

How HN took it

MixedNo clear lean

12 positive, 15 neutral or asking, 3 mixed, 3 critical, out of 33 comments about the project. Thread score +0.26.

Performance: 6 for, 1 againstExecution: 2 for, 2 againstIdea: 4 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Autopilot lands gently and reliably

    From 3 comments
    • Nice! I also got hooked on the lander thing, really quick to pick up and good replay value! Your autopilot handles a gentle landing well. If I get the lander going sideways at…
      monkellipse on HN
    • This is awesome! The closest I got without the autopilot was 94 or so. The autopilot consistently scores 100+
      khalidx on HN
    • Update: I improved the algorithm. The autopilot now scores a "perfect landing" almost every single time, it lands very noticeably faster, and the code no longer contains a…
      szhu on HN
  • Fun to test by sabotaging the lander before engaging autopilot

    From 2 comments
    • Love it! I started playing by disabling autopilot, putting the ship in complicated positions (e.g. spinning uncontrollably) and then turning the autopilot on, it's fun to which…
      huevosabio on HN
    • Thanks for this comment, I hadn't thought to try and sabotage my trajectory prior to engaging autopilot. I thought for sure it was gonna fail, but it managed to set me down…
      dwringer on HN

Objections

  • Autopilot used far too much fuel with a conservative descent

    From 1 comment
    • That's cool, but it has a very conservative descent profile and would use a ton of fuel. Having played Kerbal I'm used to attempting fuel efficient landings, which means more of…
      simonh on HN
  • Autopilot crashed when lander was flying too fast above 160 height ceiling

    From 2 comments
    • I wanted to go for a record of as many flips as possible. So I boosted up to 25,000 feet; started spinning until it was doing about one flip per second; waited a few minutes;…
      timmaxw on HN
    • The target velocity is a factor of height, and the autopilot has “160” hardcoded as the ceiling, so going above that means it will never decelerate fast enough.…
      ricardobeat on HN
  • Did not work in Firefox on Debian for one commenter

    From 1 comment
    • uhm... it doesn't seem to work, at least on my workstation (firefox on a debian)
      _ZeD_ on HN

Requests

  • Add realistic engine physics and nondeterminism

    From 2 comments
    • It’s amazing how a simple algorithm performs so well, the autopilot is able to recover from some pretty extreme situations, and does it gracefully. Adding some realism to the…
      ricardobeat on HN
    • Especially nondeterminism. Everything you say is still deterministic, so either you're able to land or you're not. With nondeterminism it's more interesting. You have to make…
      giomasce on HN
  • Handle hardest crash and sideways landings

    From 2 comments
    • This is great but I'd like to see an autopilot that can do the hardest crash
      dropbox_miner on HN
    • Nice! I also got hooked on the lander thing, really quick to pick up and good replay value! Your autopilot handles a gentle landing well. If I get the lander going sideways at…
      monkellipse on HN
  • Make it available as a bookmarklet or easter egg in the original game

    From 2 comments
    • Would it be possible to put the autopilot in a bookmarklet for the original game?
      hawski on HN
    • I really wanted to! But unfortunately none of the lander's stats are exposed as global variables, so the only way I could do it was by editing the code. (My commits are actually…
      szhu on HN

Questions

  • How to trigger autopilot on mobile

    From 1 comment

Alternatives named

  • Original lunar lander game by ehmorris

    From 2 comments
    • Oh that sounds like fun, I would definitely play that. You should suggest it to the developer who made the game! https://github.com/ehmorris/lunar-lander/issues…
      szhu on HN
    • I really wanted to! But unfortunately none of the lander's stats are exposed as global variables, so the only way I could do it was by editing the code. (My commits are actually…
      szhu on HN
  • OpenAI Gym lunar lander environment

    From 2 comments
    • Lunar lander is a one of the problems in Open AI Gym, where you test AI against standard set of problems: https://www.gymlibrary.dev/environments/box2d/lunar_lander/ Then you…
      paradite on HN
    • very similar to https://www.gymlibrary.dev/environments/box2d/lunar_lander/
      m00dy on HN
  • Race Condition game by Reaktor

    From 1 comment
    • Cool, neat code too :) Now do https://race-condition.reaktor.com/! I wanted to pour a few hours into race condition but I got it to complete a lap and never went back.
      000ooo000 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/35090054)