Ultima Online
The computer game "SimCity", "Sim Earth" and the MMORPG Ultima Online, among others, tried to simulate some of these population dynamics.