Game Theory Basics
Overview
Game theory models strategic interactions where each player's outcome depends on others' choices. It provides tools to predict behavior, identify stable outcomes (equilibria), and design mechanisms that align incentives.
Framework
IRON LAW: Define Players, Strategies, and Payoffs BEFORE Analyzing
Every game requires three elements explicitly defined:
1. Players — who are the decision-makers?
2. Strategies — what choices does each player have?
3. Payoffs — what does each player get for each combination of choices?
Analyzing a "game" without a payoff matrix is just storytelling.
Analysis Steps
- Identify players and their available strategies
- Build the payoff matrix (simultaneous) or game tree (sequential)
- Check for dominant strategies per player
- Find Nash Equilibrium — where best responses intersect
- For sequential games: apply backward induction from terminal nodes
- Evaluate efficiency — is the NE Pareto optimal? If not, flag cooperation opportunity
- The resulting path is the Subgame Perfect Equilibrium
Output Format
# Game Theory Analysis: {Situation}
## Game Setup
- Players: {list}
- Strategies: Player 1: {A, B}, Player 2: {X, Y}
- Type: Simultaneous / Sequential
## Payoff Matrix (simultaneous) or Game Tree (sequential)
| | Player 2: X | Player 2: Y |
|---|---|---|
| Player 1: A | (a1, a2) | (b1, b2) |
| Player 1: B | (c1, c2) | (d1, d2) |
## Analysis
- Dominant strategies: {if any}
- Nash Equilibrium: {strategy combination, payoffs}
- Pareto optimal? {yes/no — if no, explain the cooperation opportunity}
## Strategic Implications
{What should each player do? What mechanism could improve outcomes?}
Examples
Correct Application
Scenario: Two bubble tea chains considering price cut
|
Chain B: Hold Price |
Chain B: Cut Price |
| Chain A: Hold Price |
(80, 80) |
(40, 100) |
| Chain A: Cut Price |
(100, 40) |
(60, 60) |
- Both have dominant strategy: Cut Price (100 > 80, 60 > 40)
- Nash Equilibrium: (Cut, Cut) = (60, 60) — a Prisoner's Dilemma ✓
- Both would prefer (Hold, Hold) = (80, 80) but can't sustain it without a binding agreement
- Implication: Price wars are the rational outcome. To escape, need repeated interaction (reputation), contracts, or differentiation that makes price less relevant.
Incorrect Application
- "Our competitor will probably cooperate because it's better for everyone" → In a one-shot Prisoner's Dilemma, rational players defect. Cooperation requires repeated games or enforcement. Violates the model's prediction.
Gotchas
- Nash Equilibrium ≠ best outcome: NE is stable, not optimal. The Prisoner's Dilemma NE is worse for both players than cooperation.
- Multiple equilibria: Many games have multiple NE. Additional criteria (focal points, risk dominance, Pareto dominance) help select among them.
- Payoff estimation is the hard part: The matrix is easy once payoffs are known. Estimating realistic payoffs requires market research and financial modeling.
- Repeated games change everything: In one-shot games, defection dominates. In repeated games, tit-for-tat and reputation effects enable cooperation.
- Information matters: Games with incomplete information (you don't know opponent's payoffs) or imperfect information (you don't see opponent's moves) require Bayesian analysis.
- Mixed-strategy NE is the default, not the exception: When no pure-strategy NE exists (e.g., matching pennies), agents often report "no equilibrium found" instead of computing the mixed strategy. Every finite game has at least one NE — if you can't find a pure one, solve for the mixing probabilities.
References
- For repeated games and folk theorem, see
references/repeated-games.md
- For mechanism design basics, see
references/mechanism-design.md
1---2name: econ-game-theory3description: Apply basic game theory concepts including Nash equilibrium, dominant strategies, and the Prisoner's Dilemma to analyze strategic interactions. Use this skill when the user needs to model competitive decisions, predict rival behavior, design incentive mechanisms, or evaluate cooperation vs competition scenarios — even if they say 'what will our competitor do', 'should we cooperate or compete', or 'how do we set up the right incentives'.4---56# Game Theory Basics78## Overview910Game theory models strategic interactions where each player's outcome depends on others' choices. It provides tools to predict behavior, identify stable outcomes (equilibria), and design mechanisms that align incentives.1112## Framework1314```15IRON LAW: Define Players, Strategies, and Payoffs BEFORE Analyzing1617Every game requires three elements explicitly defined:181. Players — who are the decision-makers?192. Strategies — what choices does each player have?203. Payoffs — what does each player get for each combination of choices?2122Analyzing a "game" without a payoff matrix is just storytelling.23```2425### Analysis Steps26271. **Identify players** and their available strategies282. **Build the payoff matrix** (simultaneous) or **game tree** (sequential)293. **Check for dominant strategies** per player304. **Find Nash Equilibrium** — where best responses intersect315. **For sequential games**: apply backward induction from terminal nodes326. **Evaluate efficiency** — is the NE Pareto optimal? If not, flag cooperation opportunity333. The resulting path is the Subgame Perfect Equilibrium3435## Output Format3637```markdown38# Game Theory Analysis: {Situation}3940## Game Setup41- Players: {list}42- Strategies: Player 1: {A, B}, Player 2: {X, Y}43- Type: Simultaneous / Sequential4445## Payoff Matrix (simultaneous) or Game Tree (sequential)4647| | Player 2: X | Player 2: Y |48|---|---|---|49| Player 1: A | (a1, a2) | (b1, b2) |50| Player 1: B | (c1, c2) | (d1, d2) |5152## Analysis53- Dominant strategies: {if any}54- Nash Equilibrium: {strategy combination, payoffs}55- Pareto optimal? {yes/no — if no, explain the cooperation opportunity}5657## Strategic Implications58{What should each player do? What mechanism could improve outcomes?}59```6061## Examples6263### Correct Application64**Scenario:** Two bubble tea chains considering price cut6566| | Chain B: Hold Price | Chain B: Cut Price |67|---|---|---|68| Chain A: Hold Price | (80, 80) | (40, 100) |69| Chain A: Cut Price | (100, 40) | (60, 60) |7071- Both have dominant strategy: Cut Price (100 > 80, 60 > 40)72- **Nash Equilibrium: (Cut, Cut) = (60, 60)** — a Prisoner's Dilemma ✓73- Both would prefer (Hold, Hold) = (80, 80) but can't sustain it without a binding agreement74- **Implication**: Price wars are the rational outcome. To escape, need repeated interaction (reputation), contracts, or differentiation that makes price less relevant.7576### Incorrect Application77- "Our competitor will probably cooperate because it's better for everyone" → In a one-shot Prisoner's Dilemma, rational players defect. Cooperation requires repeated games or enforcement. Violates the model's prediction.7879## Gotchas8081- **Nash Equilibrium ≠ best outcome**: NE is stable, not optimal. The Prisoner's Dilemma NE is worse for both players than cooperation.82- **Multiple equilibria**: Many games have multiple NE. Additional criteria (focal points, risk dominance, Pareto dominance) help select among them.83- **Payoff estimation is the hard part**: The matrix is easy once payoffs are known. Estimating realistic payoffs requires market research and financial modeling.84- **Repeated games change everything**: In one-shot games, defection dominates. In repeated games, tit-for-tat and reputation effects enable cooperation.85- **Information matters**: Games with incomplete information (you don't know opponent's payoffs) or imperfect information (you don't see opponent's moves) require Bayesian analysis.86- **Mixed-strategy NE is the default, not the exception**: When no pure-strategy NE exists (e.g., matching pennies), agents often report "no equilibrium found" instead of computing the mixed strategy. Every finite game has at least one NE — if you can't find a pure one, solve for the mixing probabilities.8788## References8990- For repeated games and folk theorem, see `references/repeated-games.md`91- For mechanism design basics, see `references/mechanism-design.md`