In the game, players collect resources, train individual units and heroes and build bases in order to achieve various goals (in single-player mode) or to defeat the enemy player. Four playable factions can be chosen from: Humans and Orcs, both of which appeared in the previous games, and two new factions, the Night Elves and the Undead. Warcraft III's single-player campaign is laid out similarly to that of StarCraft and is being told through the races in a progressive manner. Players can play matches against the computer or against others using local area networking or Blizzard's Battle. net gaming platform.