Strategically build dyson panels around your planet to protect it from being destroyed by solar flares. The angel created by a panel and a flares determines if the former can withstand the impact and bring resources back to the planet.
In the future the exist of your planet is threatened by a dying star producing massive solar flares.
YOur goal is to help your planet stay alive as long as possible.
As Always, Good Luck and Have Fun.