Thanks for the comment! Yes, distance affects both the player and the enemy, although the enemy has a longer base range at first.
I’m going to try to have a gentler ramp-up of difficulty by allowing more rounds with the weaker enemies (or faster scrap accumulation), so the player can build up more stats. And/or add “special abilities” or something like that.
Drones might be useful for absorbing hits because just a single drone prevents any health damage from passing through.
Also you can see the damage calculations/source code at https://github.com/aucchen/infinite-space-battle-simulator/blob/main/out/html/game.js