I don't know if it was Starsector, but I played a game where you had to obtain certain technologies to defeat the aliens.