Skip to content

Instantly share code, notes, and snippets.

@sbliven
Last active January 11, 2022 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbliven/e5eacef1df5f64e820abf3c0be597c46 to your computer and use it in GitHub Desktop.
Save sbliven/e5eacef1df5f64e820abf3c0be597c46 to your computer and use it in GitHub Desktop.
Calculations for DanQ's Lunar Lander game (https://danq.me/2018/03/03/lunar-lander/)
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jumpjack
Copy link

I think results are different on different platforms, probably due to different simulation speeds. On my PC I always crash if I start the engine at speed greater than 41m/s.

Anyway the really tricky game is when you have also to use fuel to find the landing spot horizontally...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment