My implementation in Python of Epstein and Axtell's large scale agent-based computational model, the Sugarscape, to explore the role of social phenomenon such as seasonal migrations, pollution, sexual reproduction, combat, and transmission of disease and even culture.
In other words: Cellular Automata + Agents = Sugarscape.
Seasonal migration and Hibernation resulting from rules ({S[1,8,50]}, {M}) and random distribution of agents:
Societal evolution through crossover of Genetic Attributes in Sexual Reproduction under rules ({G1}, {M, S}) coloring by agent vision:
Combat between two tribbes under rules ({G1}, {Cinf}), with various outcomes: a) coexistence between Blue and Red b) Red dominance c) Blue dominance:
Trench war and front line between two tribes fighting under rules ({G1}, {C2, R[60, 100]}) coloring by tribes:
A realization of the Proto-History under rules ({G1}, {M,S,K}) and random distribution of agents, showing: migration, spatial segregation, mating, cultural transmission and finally tribes interaction such as collisions, penetrations, and conversions producing complex social histories :
Install Python 2.6 and above: https://www.python.org.
Install Pygame 1.9 package: http://www.pygame.org.
On command schell, execute: python sugarscape.py
.
Edit sugarscape.py
and uncomment settings for the wanted simulation, run again.
- [F1] : show current agents population.
- [F2] : show current agents whealth histogram.
- [F3] : show current agents metabolism and vision mean values.
- [F12] : start / pause / resume simulation.
- Trading rules.
- Diseases.
- Schelling, Thomas C. (1978). Micromotives and Macrobehavior, Norton.
- Epstein, Joshua M.; Axtell, Robert L. (1996). Growing Artificial Societies: Social Science From the Bottom Up, MIT/Brookings Institution.