Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Playground › Strategy tournament

Prisoner's dilemma strategy game

In a repeated prisoner's dilemma, rules that start kind, hit back when betrayed and forgive afterwards, like copycat (tit for tat), usually do best. In very short games against easy targets, always betraying can still come out ahead.

What to notice

  • Both trust: 3 coins each. Betray someone who trusts you: 5 for you, 0 for them. Both betray: 1 each.
  • Copycat never betrays first but cannot be exploited for long.
  • The longer the game, the more trust pays.

Questions

What is tit for tat?
A rule that trusts in the first round and then copies whatever the other player did last round.
Who ran the famous tournament?
Robert Axelrod, a political scientist, in the early 1980s. Tit for tat won.
Why does always mean sometimes win here?
The games are only 10 rounds, and two of the bots never fight back. Make the game longer and add more careful players and it falls behind.

Learn it properly

  • Rules for playing again and againLesson
  • The prisoner's dilemmaLesson

More to play with

  • Galton board
  • Monty Hall game
  • Chance lab
  • Balance scale equations
  • 3D illusions