The game is considered won when all team's with a different team number (AKA: all your enemies) have all buildings destroyed. So if you start a game with just a human player and no computer or network players, you would automatically be declared the winner, since there are no opposing buildings remaining.