Now, let's assume YOU DON'T KNOW that the guy will photon rush you. Imagine you even forgot to scout around and you now face a pylon and a warping cannon.
First, if you don't have a forge, build one as far as you can from his cannon. Then start building your own.
Your aim will be to prevent him from getting closer. It's a strange game where the first probe to warp a cannon wins. Sometimes you'll need to warp 2 cannons, they'll start firing a bit later than your opponent's but the number will do the trick.
Another objective is to prevent him to be able to get in or out of your base. You want him stuck here, not being able to bring in new probes without getting shot at.
And the last objective is to have one of your own probes escape and do the same trick in his own base. I even once managed to destroy my opponent's nexus that way ! And if he blocks you, you'll have nulled the advantage he gained using this strategy.
DO NOT try to break the blockade with zealots, you'll just die. At this point it's too late, just keep on building probes with the spare minerals you got, you'll need them in the long run. Wait till you got Immortals or Void Rays to break out.
Now, let's assume YOU DON'T KNOW that the guy will photon rush you. Imagine you even forgot to scout around and you now face a pylon and a warping cannon.
First, if you don't have a forge, build one as far as you can from his cannon. Then start building your own.
Your aim will be to prevent him from getting closer. It's a strange game where the first probe to warp a cannon wins. Sometimes you'll need to warp 2 cannons, they'll start firing a bit later than your opponent's but the number will do the trick.
Another objective is to prevent him to be able to get in or out of your base. You want him stuck here, not being able to bring in new probes without getting shot at.
And the last objective is to have one of your own probes escape and do the same trick in his own base. I even once managed to destroy my opponent's nexus that way ! And if he blocks you, you'll have nulled the advantage he gained using this strategy.
DO NOT try to break the blockade with zealots, you'll just die. At this point it's too late, just keep on building probes with the spare minerals you got, you'll need them in the long run. Wait till you got Immortals or Void Rays to break out.