You can play the game at https://camdenvaughan.itch.io/astro-ambush
Feel free to look through the code, I tried to keep things as simple as possible, but this game had about 2 or 3 gameplay shifts while it was in development so there may be a few remnents of old versions.