I got pretty good at (and very addicted to) the lunar lander game from a few days ago… so I decided to make an autopilot for the lander based on what I felt like was the best strategy! Now I can have perfect landings every time without lifting a finger 😀 Writing the autopilot code was a lot more fun than I expected! It felt a bit like programming a robot. Source code: https://github.com/szhu/lunar-lander-autopilot Original lander HN post: https://news.ycombinator.com/item?id=35032506
Story Published at: March 10, 2023 at 03:30AM
Story Published at: March 10, 2023 at 03:30AM