What are the victory conditions?

In Starcraft, the rule is: "Last man standing wins the game".

So you must destroy "all buildings" to eliminate your enemy completely. That includes all floating Terran buildings,too.

But does this include Protoss Pylons, Terran Energy Depots, and Vespene Refineries?

All buildings must be destroyed in order for a player to lose, see Blizz Rules. Note, that this does not constitute a "win" condition, only a "lose" condition. In the event that a player hits a "lose" condition, while the other player does not, the other player THEN hits a "win" condition.

This is important because in a condition where players are racing to destroy each other buildings, the one that was destroyed quicker down to the millisecond, will trigger the "lose" condition for the first player, preventing the second one from hitting a "lose" condition, doing it this way prevents a "double win" miss-hap.

It's also important to remember that buildings in flight and mid-construction are also building units counting towards the players "not-yet-lost" condition. Units like Creep tumors are considered food-cost-less units, not buildings.

Also note, that there are "stalemate" conditions, when neither player can take such action as to cause the other player into a "lose" condition, see Team Liquid Wiki

• Also, a player can resign. Commented Jan 24, 2019 at 22:21
• Yes it totally consitute a "win" condition which is the negation of the "lose" condition. His lose conditoin = your win condition. See basic logic laws : criticalthinkeracademy.com/courses/2514/lectures/51567 Commented Oct 13, 2023 at 16:10
• @Tristan unlike paid for courses that teach condition and conditoin are the same word, the logic of StarCraft 2 takes place in a reality that is dictated by time. Your course doesn’t take time into consideration, all expressions are essentially coexisting. However, in StarCraft 2, just like real life, logical conditions are expressed via a one-by-one basis, where the existence of the first one will cause other parts of the code or reality to react to it. Code runs at 30,60 or 120 frames per second, reality runs at 1 frame per Planck second, without logic that follows in steps everything fails. Commented Oct 16, 2023 at 8:38
• This is pure jibberish, have fun in your parallel reality though ;) Commented Oct 22, 2023 at 8:35
• Search for this instead? gibberish Commented Oct 23, 2023 at 10:17

Yes every single structure must be destroyed. With a structure being any fixed, player-controlled construct that required resources to be built. That is with minerals and/or vespene gas. This category includes all constructs with the capacity of being lifted, as they're fixed constructs that become movable should the player decide to. Even while being in the lifted state they're considered buildings. Essentially every fixed colored point you see on the minimap. Only creep tumors are some sort of structure not considered a building.

• "With a structure being any fixed, player-controlled construct that required resources to be built." @rubo77 already pointed out why this would be a bad definition: Terran buildings can be lifted off the ground. Commented Apr 10, 2015 at 20:56
• @Powerlord Huh... true, editing now. Commented Apr 10, 2015 at 20:58