All the tips mentioned so far are good. Diplomacy is key. Being nice is key to opening up later diplomatic options.
Here's some tips I'd suggest in terms of strategy:
* NEVER resign. It makes life easier.
* Stack hires. Dont hire unless it gives you a distinct. It gives you multiple options for attack/defense. More than 2 Stacked hires is a real problem because your attackers can't anticipate what you have.
* You need a "bug out" plan; where's the best possible location for your queen. Get here there. Make them chase you until you get to this location. E.g. An Ideal location is a factory or two cluster with some distance. Having an extra gen gives you a cap of 200d without a tinkerer/MoE.
* Retreat and conserve drills. Make them eat shields.
* ALWAYS have speed with your queen. (Unless you are deliberately using your queen as bait: advanced users only)
* if possible, try to hold onto a couple of outposts so you have maneuverability options.
* If you are really cornered, martyring your assets is a noble way to prevent your attackers from gaining anything of value.
Watch this video by v3xt for inspiration:
https://m.youtube.com/watch?v=-nIGxyZ-6WU