Noisy Dilemma

Two players each choose to cooperate (C) or defect (D), 200 times in a row. Both cooperating earns 3 each; both defecting earns 1 each; a defector facing a cooperator earns 5 and the cooperator earns 0. Every strategy plays every other one.

The twist: noise. Sometimes a move gets flipped by accident. Write a strategy, then slide the noise up and watch which kinds of forgiveness survive.

Your strategy

You get my and their (arrays of past moves, after noise), round (starting at 0), and random(). Return 'C' or 'D'.

Results

Average points per round across all matches. Changing the noise re-runs the tournament.

#StrategyPoints / round