Survive attacks for each portals active period and use portals cool down period for exploring and dig for materials and crafting and setup defenses an paths.. more over you should take care of robot's battery and manage power wisely..
If you like sandbox and tower defense games Try my game demo on steam..
https://mindpower.itch.io/portalsworld
steam link: