Agents play iterated Prisoner's Dilemma using different strategies: tit-for-tat, always cooperate, always defect, random and more. Watch cooperation emerge — or collapse — based on strategy distribution.
Payoff matrices determine outcomes of cooperation vs. defection. Tit-for-tat (copying the opponent's last move) tends to dominate in tournaments.
Choose the mix of strategies and watch agents interact. Observe how population dynamics shift as successful strategies spread.
Robert Axelrod's 1984 tournament showed that tit-for-tat — the simplest strategy — won against much more complex opponents. "Nice" strategies that never defect first consistently outperformed "mean" ones.