The world is fucked. You're the last defender, and you're in a shithole of a bunker, trapped like a rat under siege by murderous bugs. Thankfully you have a terminal interface into one of the last functioning automated factory units. Design, program and optimize your defenses.
They come out at night. Mostly.
You are in a bunker that must not be reached by the enemy. You have a terminal interface and a top down(?) visualization of the map. Enemies enter from given points: They must not reach you.
Place units of different classes: Sensors, turrets, worker drones. Get sensor data to turrets. Get turret status to drones. Make drones fetch ammo to turrets.
Program everything.