You and a friend each secretly flip a coin to heads or tails. If they match, you win both coins. If they don't match, your friend wins. Simple — but surprisingly deep!
🎮 Interactive Game Coming Soon!
We're building an interactive coin-matching simulator against a smart AI. For now, explore the payoff matrix below to see the game's structure.
Matching Pennies is one of the simplest games in game theory, but it teaches a huge idea: sometimes the smartest strategy is to be completely unpredictable. Two players each secretly choose heads or tails. One player, the "Matcher," wins if both coins show the same side. The other player, the "Mismatcher," wins if the coins show different sides. Whatever one player wins, the other player loses — which makes this a classic zero-sum game.
Unlike games such as the Prisoner's Dilemma, there's no "cooperate" option here and no stable single choice that always works best. If you always pick heads, your opponent will notice and always counter you to win every single time. The only way to avoid being exploited is to choose heads or tails completely at random, each with a 50% chance. This is called a "mixed strategy," and it's the Nash Equilibrium of this particular game.
Matching Pennies shows up anywhere someone is trying to outguess an opponent who is trying to outguess them right back. It teaches that unpredictability itself can be a winning strategy, especially in competitive situations where information matters.
Numbers show (Matcher's points, Mismatcher's points).
| Opponent: Heads 🪙 | Opponent: Tails 🌕 | |
|---|---|---|
| You: Heads 🪙 | (+1, -1) ✅ | (-1, +1) |
| You: Tails 🌕 | (-1, +1) | (+1, -1) ✅ |
Every outcome adds up to zero — one player's win is exactly the other's loss. That's what makes this a true zero-sum game.
Grab two coins and play 20 rounds of Matching Pennies with a partner, keeping score. Try to notice if your partner falls into a pattern (like always picking heads after a loss) and see if you can predict and exploit it. Then try flipping a real coin to choose randomly instead, and compare your results.
What is the Matching Pennies game?
Matching Pennies is a two-player game where each player secretly picks heads or tails. If the coins match, one player wins both; if they don't match, the other player wins both.
What is a zero-sum game?
A zero-sum game is one where one player's gain is exactly the other player's loss, so the total combined outcome always adds up to zero.
What is the best strategy for Matching Pennies?
The best strategy is to pick heads or tails completely randomly, each with 50% probability. Any predictable pattern can be exploited by your opponent.
Why can't you just always pick heads?
If your opponent figures out your pattern, they can always counter it and win every time. Being predictable is a weakness in zero-sum games like this one.