Skip to content
Mermaid templates

Prisoner's Dilemma Payoff Matrix

Classic 2x2 payoff matrix with dominant defection strategy.

Template previewMermaid
Rendering…

What this template contains

Diagram type
Block diagram
Source
13 lines

Make it your own.

block-beta
columns 3
  H[" "]:1 B_C["B: Cooperate"]:1 B_D["B: Defect"]:1
  A_C["A: Cooperate"]:1 R1["(-1, -1)"]:1 R2["(-10, 0)"]:1
  A_D["A: Defect"]:1 R3["(0, -10)"]:1 R4["(-5, -5)"]:1
classDef hdr fill:#1e3a8a,color:#fff;
classDef coop fill:#dcfce7;
classDef defect fill:#fee2e2;
classDef nash fill:#fef3c7,stroke:#92400e,stroke-width:2px;
class H,B_C,B_D,A_C,A_D hdr
class R1 coop
class R2,R3 defect
class R4 nash