This model simulates two types of agents (cows) competing for a specific resource (grass).
At each step, cows move randomly and eat the grass (green) at their current position. “Greedy” cows (blue) eat the grass regardless of its height, while “cooperative” cows (red) only eat the grass if it is above a certain height.
Cows reproduce if their energy is above a certain threshold and die off if their energy reaches 0. Energy is lost every step depending on the cow's metabolism and gained through eating grass at their current patch location.