Chapter 13 · Simulation

Replicator Dynamics

← Chapter 13

+12% share:
Population shares over generations

    How to play

    A large population plays a symmetric game. The fitness of a strategy is its average payoff against the current population; each generation a strategy’s share is multiplied by fitness ÷ average fitness. Press Next generation or Run 25 generations and watch the bars and the history chart.

    What to look for: a strategy whose fitness is above the population average grows. Evolutionary stability is about resisting invasion; it does not mean maximizing total welfare.

    Scenarios

    • Hawk–Dove: aggressive and peaceful behaviours compete for a resource. Selection supports a mixed population rather than a single winner; the third strategy, Bourgeois, respects ownership. The payoffs use resource V = 4, fight cost C = 6 and a baseline fitness of 3; with two strategies the Hawk share converges to V/C = 2/3. Bourgeois plays Hawk when it is the owner and Dove when it is an intruder (each role with probability 1/2).
    • Coordination: strategies earn more as they match the population. A small initial majority grows into a self-reinforcing convention (path dependence).
    • Rock–Paper–Scissors: each strategy beats one rival and loses to the other; cyclic dominance keeps diversity alive. Use Level 2 or 3 (three strategies).

    Payoff matrices (row player)

    Hawk–DoveHawkDoveBourgeois
    Hawk274.5
    Dove354
    Bourgeois2.565
    CoordinationABFlexible
    A513
    B153
    Flexible333
    RPSRockPaperScissors
    Rock204
    Paper420
    Scissors042

    Modes

    • Set up population: shape the initial shares with the boost buttons (generation 0 only), then watch selection.
    • Intervention: boosting is allowed at any time; apply a shock mid-run and see how the evolutionary paths change.
    • Computer: the population evolves without intervention.

    Levels

    • Level 1: only the first two strategies; the basic selection pressure (start 70% / 30%).
    • Level 2: three strategies (start 50% / 30% / 20%).
    • Level 3: three strategies with small mutation and random noise; extinct strategies can reappear and paths are less deterministic.