This model observes how cooperative and selfish agents co-exist in a simulated agricultural environment.
At each time step: (1) Resource patches regrow and lose a certain amount of resource based on what the harvesters consume. (2) Harvesters harvest a certain amount of resources depending on whether they are 'cooperative' or 'selfish' and compete with other harvesters on the same patch. (3) Selfish harvesters face a punishment, or fine, for pursuing a selfish harvest (or harvesting more than they should have). (4) If dissatisfied with their current harvest, harvesters move to one of their neighbors with the highest amount of current resources. (5) Harvesters die if their energy is completely consumed (energy <= 0) (6) Harvesters have a chance to reproduce each time step. Their probability increases and decreases with their energy value.
Sources: Agent-Based and Individual-Based Modeling: A Practical Introduction By: Steven F. Railsback and Volker Grimm