I can confirm that with the improved auto-pilot it is possible to get a 103.6 point landing after performing 1,151 flips (and reaching a max speed of 504 mph and a height of about 38k feet), if you can spare your phone for 38 minutes.
Show HN: I built an autopilot for the lunar lander game
71–73 of 73 posts
Re: Show HN: I built an autopilot for the lunar lander game
#72Lunar 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 have stable baselines which implements popular reinforcement learning algorithms to solve these gym problems: https://stable-baselines3.readthedocs.io/en/master/ Shamless plug: I've built a series of games where you solve puzzles (2048) / toy pr…
I wish I could play them in the browser instead of with apps.
I'm working as an indie game dev full-time so making money is high on priorities.
Re: Show HN: I built an autopilot for the lunar lander game
#73I 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; then turned on the autopilot to come into a landing. The autopilot did a perfect job of stopping the rotation and lateral motion, so the lander came down straight as an arrow. Unfortunately, the autopilot didn't even try to decelerate! I crashed…
Update: I added a new algorithm, and I think it might be impossible to crash the ship now. Let me know if you can still reproduce the bug!