14 ms·
Would it be possible to put the autopilot in a bookmarklet for the original game?
by hawski 4y ago
Would it be possible to put the autopilot in a bookmarklet for the original game?
- szhu 4y agoI really wanted to! But unfortunately none of the lander's stats are exposed as global variables, so the only way I could make the autopilot was by modifying the existing code. (My commits are actually broken down exactly like this: a commit to expose the necessary variables globally, and another to actually add the autopilot.) I would also love to be able to play it in the original game though, so I made a PR! I think it would be cool for it to be able to be activated as an easter egg. https://github.com/ehmorris/lunar-lander/pull/7 https://github.com/ehmorris/lunar-lander/pull/7
- ehmorris 4y agoI will take a look!