The world is not pitch black actually, just much darker, like overcast day. The sun is dying, not dead, so there is still light, and will be for hundreds of years, but there will not be as much as there was. As far as sci fi goes, technology is more like what we have today, so I doubt a massive army...