In the event of a tie, the player with the largest territory (the most connecting squares of the same terrain) wins.
If there is still a tie, the players share the victory.