Normal-form game catalogue

All reusable normal-form games are stored together in _variables.yml. A lecture inserts a selected matrix with a Quarto variable shortcode, for example games.prisoners_dilemma.matrix. The catalogue below renders those same definitions.

Instigation game

\[ \begin{array}{c|cc} & s & \neg s \\ \hline a & d, -t & -v, m \\ \neg a & 0, r & 0, 0 \end{array} \]

Prisoner’s dilemma

\[ \begin{array}{c|cc} & C & D \\ \hline C & -1, -1 & -4, 0 \\ D & 0, -4 & -3, -3 \end{array} \]

Matching pennies

\[ \begin{array}{c|cc} & H & T \\ \hline H & 1, -1 & -1, 1 \\ T & -1, 1 & 1, -1 \end{array} \]

Matching pennies with an asymmetric stake

The zero-sum modification used in Best-response dynamics has the same sequential best-response cycle as matching pennies. Its unique equilibrium assigns probability \(2/1003\) to \(H\) for each player.

\[ \begin{array}{c|cc} & H & T \\ \hline H & 1000 & -1 \\ T & -1 & 1 \end{array} \]

A zero-sum game with a pure equilibrium and a best-response cycle

The profile \((E,E)\) is a strict pure Nash equilibrium, but sequential best responses starting at \((H,H)\) cycle among the four profiles using only \(H\) and \(T\). Consequently, this game is not a potential game. See Convergence of best responses for the argument.

\[ \begin{array}{c|ccc} & H & T & E \\ \hline H & 2 & -2 & -1 \\ T & -2 & 2 & -1 \\ E & 1 & 1 & 0 \end{array} \]

Shapley’s fictitious-play counterexample

This three-action game has a unique uniform Nash equilibrium, but fictitious play initialized at \((a,e)\) need not converge to it (Shapley 1964, sec. 5). See Shapley’s fictitious-play counterexample for the update rule and the first blocks of play.

\[ \begin{array}{c|ccc} & d & e & f \\ \hline a & 0, 0 & 1, 0 & 0, 1 \\ b & 0, 1 & 0, 0 & 1, 0 \\ c & 1, 0 & 0, 1 & 0, 0 \end{array} \]

Hide the Treasure

Rows \(h_1,h_2\) mean hiding in Box 1 or Box 2; columns \(s_1,s_2\) mean searching Box 1 or Box 2. Entries give the Hider’s payoffs; the Seeker receives their negatives.

\[ \begin{array}{c|rr} & s_1 & s_2 \\ \hline h_1 & -1 & 1 \\ h_2 & 2 & -2 \end{array} \]

Morra

The row and column strategies \(i\text{-}j\) mean raising \(i\) fingers and guessing that the opponent raises \(j\). Entries are the row player’s payoffs; the column player’s utilities are their negatives.

\[ \begin{array}{c|rrrrrrrrr} & 1\text{-}1 & 1\text{-}2 & 1\text{-}3 & 2\text{-}1 & 2\text{-}2 & 2\text{-}3 & 3\text{-}1 & 3\text{-}2 & 3\text{-}3 \\ \hline 1\text{-}1 & 0 & 2 & 2 & -3 & 0 & 0 & -4 & 0 & 0 \\ 1\text{-}2 & -2 & 0 & 0 & 0 & 3 & 3 & -4 & 0 & 0 \\ 1\text{-}3 & -2 & 0 & 0 & -3 & 0 & 0 & 0 & 4 & 4 \\ 2\text{-}1 & 3 & 0 & 3 & 0 & -4 & 0 & 0 & -5 & 0 \\ 2\text{-}2 & 0 & -3 & 0 & 4 & 0 & 4 & 0 & -5 & 0 \\ 2\text{-}3 & 0 & -3 & 0 & 0 & -4 & 0 & 5 & 0 & 5 \\ 3\text{-}1 & 4 & 4 & 0 & 0 & 0 & -5 & 0 & 0 & -6 \\ 3\text{-}2 & 0 & 0 & -4 & 5 & 5 & 0 & 0 & 0 & -6 \\ 3\text{-}3 & 0 & 0 & -4 & 0 & 0 & -5 & 6 & 6 & 0 \end{array} \]

A pure saddle point

Entries are the row player’s payoffs; the column player minimizes them. The saddle point is \((c,d)\) and the value is \(7\).

\[ \begin{array}{c|ccc} & d & e & f \\ \hline a & 1 & 2 & 3 \\ b & 4 & 5 & 6 \\ c & 7 & 8 & 9 \end{array} \]

Sharing household chores

\[ \begin{array}{c|cc} & \text{Shop} & \text{Trash} \\ \hline \text{Cook} & 2, 0 & 0, 1 \\ \text{Clean} & 0, 2 & 1, 0 \end{array} \]

Bach or Stravinski

\[ \begin{array}{c|cc} & B & S \\ \hline B & 2, 1 & 0, 0 \\ S & 0, 0 & 1, 2 \end{array} \]

Coordination game

\[ \begin{array}{c|cc} & a & b \\ \hline a & 2, 2 & 0, 0 \\ b & 0, 0 & 1, 1 \end{array} \]

Two drivers choosing between two routes

Utilities are negative travel costs. Route \(e_1\) costs \(1\) with one driver and \(3\) with two; route \(e_2\) costs \(2\) with either load. See Convergence of best responses for the convergence argument using a potential.

\[ \begin{array}{c|cc} & e_1 & e_2 \\ \hline e_1 & -3, -3 & -1, -2 \\ e_2 & -2, -1 & -2, -2 \end{array} \]

Cournot duopoly with seven quantity choices

This is a finite instance of the linear Cournot model discussed in (Monderer and Shapley 1996). Alice and Bob operate competing firms. Each simultaneously chooses an output quantity \(q_i\in\{0,1,\ldots,6\}\). The market price is \(14-q_1-q_2\), and producing one unit costs \(2\), so their profits are

\[ u_1(q_1,q_2)=q_1(12-q_1-q_2),\qquad u_2(q_1,q_2)=q_2(12-q_1-q_2). \]

The rows give Alice’s quantities and the columns give Bob’s:

\[ \begin{array}{c|rrrrrrr} & 0 & 1 & 2 & 3 & 4 & 5 & 6 \\ \hline 0 & 0, 0 & 0, 11 & 0, 20 & 0, 27 & 0, 32 & 0, 35 & 0, 36 \\ 1 & 11, 0 & 10, 10 & 9, 18 & 8, 24 & 7, 28 & 6, 30 & 5, 30 \\ 2 & 20, 0 & 18, 9 & 16, 16 & 14, 21 & 12, 24 & 10, 25 & 8, 24 \\ 3 & 27, 0 & 24, 8 & 21, 14 & 18, 18 & 15, 20 & 12, 20 & 9, 18 \\ 4 & 32, 0 & 28, 7 & 24, 12 & 20, 15 & 16, 16 & 12, 15 & 8, 12 \\ 5 & 35, 0 & 30, 6 & 25, 10 & 20, 12 & 15, 12 & 10, 10 & 5, 6 \\ 6 & 36, 0 & 30, 5 & 24, 8 & 18, 9 & 12, 8 & 6, 5 & 0, 0 \end{array} \]

An exact potential is

\[ P(q_1,q_2)=12(q_1+q_2)-q_1^2-q_2^2-q_1q_2. \]

Every unilateral utility change equals the corresponding potential change. Consequently, strict sequential best-response dynamics terminates by Convergence of best responses. With Alice updating first and ties between new best responses resolved toward the smaller quantity, the notebook’s initial profile \((0,0)\) produces

\[ (0,0)\to(6,0)\to(6,3)\to(4,3)\to(4,4). \]

The potential increases through \(0,36,45,47,48\). The pure equilibria are \((3,5)\), \((4,4)\), and \((5,3)\), so changing the initial quantities can also illustrate different terminal profiles.

Inspection game

The inspection game of (Stengel and Zamir 2004, fig. 2), with rows and columns reordered. The row player audits and the column player chooses whether to cheat; see Commitment and randomized auditing.

\[ \begin{array}{c|cc} & \text{Cheat} & \text{Honest} \\ \hline \text{Audit} & -6, -9 & -1, 0 \\ \text{No audit} & -10, 1 & 0, 0 \end{array} \]

The value of commitment

The two-player example of (Conitzer and Sandholm 2006, sec. 2.1); see Weak and strong Stackelberg equilibrium.

\[ \begin{array}{c|cc} & c & d \\ \hline a & 2, 1 & 4, 0 \\ b & 1, 0 & 3, 1 \end{array} \]

Iterated-dominance example

\[ \begin{array}{c|ccc} & c & d & e \\ \hline a & 1, 0 & 1, 2 & 0, 1 \\ b & 0, 3 & 0, 1 & 2, 0 \end{array} \]

Strategic form of the dynamic game

\[ \begin{array}{c|cccc} & ce & cf & de & df \\ \hline ag & 0, 4 & 0, 4 & 2, 1 & 2, 1 \\ ah & 0, 4 & 0, 4 & 2, 1 & 2, 1 \\ bg & 1, 2 & 3, 8 & 1, 2 & 3, 8 \\ bh & 1, 2 & 8, 0 & 1, 2 & 8, 0 \end{array} \]

Expected utility and partial support

\[ \begin{array}{c|ccc} & x & y & z \\ \hline a & 1, 7 & 1, 5 & 3, 4 \\ b & 2, 3 & 0, 4 & 0, 6 \end{array} \]

Indifference is not sufficient

\[ \begin{array}{c|cc} & l & r \\ \hline a & 1, 0 & 0, 1 \\ b & 0, 1 & 1, 0 \\ c & 0.6, 0 & 0.6, 0 \end{array} \]

Penalty kicks

Rows are the kicker’s choices and columns are the goalkeeper’s choices. Entries give scoring probabilities; the goalkeeper’s utility is their negative.

\[ \begin{array}{c|cc} & u & n \\ \hline u & 0.58 & 0.95 \\ n & 0.93 & 0.70 \end{array} \]

Professor’s dilemma

\[ \begin{array}{c|cc} & \text{Listen} & \text{Sleep} \\ \hline \text{Prepare} & 10^6, 10^6 & -10, 0 \\ \text{Slack off} & 0, -10 & 0, 0 \end{array} \]

Good Samaritan: two bystanders

Action \(a\) means providing aid and \(\bar a\) means not providing aid.

\[ \begin{array}{c|cc} & a & \bar a \\ \hline a & 9, 9 & 9, 10 \\ \bar a & 10, 9 & 0, 0 \end{array} \]