{"by":"susam","descendants":6,"id":40365193,"kids":[40389100,40386184,40392530,40387992,40365214,40387581],"score":52,"text":"The entire game is implemented as a single HTML page, so it is easy to read the source code of this game and that of the autopilot by viewing the source of the page.<p>For convenience, here is a direct link to the autopilot source code: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;invaders&#x2F;blob&#x2F;0.9.0&#x2F;invaders.html#L389-L496\">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;invaders&#x2F;blob&#x2F;0.9.0&#x2F;invaders.html#L...</a>","time":1715770214,"title":"Show HN: Autopilot for my little HTML game called Andromeda Invaders","type":"story","url":"https://susam.net/invaders.html#auto"}