Build payoff matrices, find dominant strategies, and explore classic 2x2 games
Two players, two choices each, and one small table of payoffs. Change the numbers and watch what each player should do.
Edit the payoffs or load a classic game. Nash equilibria light up green and dominated strategies are struck through in red; change the Prisoner's Dilemma payoffs and watch the equilibrium shift.
| Column Player | |||
|---|---|---|---|
| Cooperate | Defect | ||
| Row Player | Cooperate | , | , |
| Defect | , | , | |
Game theory studies strategic interactions — situations where your best choice depends on what others choose. The simplest model is the 2-player normal-form game, represented as a payoff matrix. Each cell shows the payoffs to both players for a given combination of strategies.
A strategy is dominant if it gives a higher payoff than any alternative regardless of what the opponent does. When both players have dominant strategies, the outcome is determined — but it may not be optimal for either player.
Key insight: In the Prisoner's Dilemma, both players have a dominant strategy (Defect), leading to an outcome worse for both than mutual cooperation. This tension between individual and collective rationality is the heart of game theory.
Try loading each preset game and notice the differences:
Spot a mistake or have an idea?