Chomp
Play Chomp against a perfect opponent — the first player always wins, the winning move is always unique, and no formula for it is known.
Click a square to eat it and everything below and to the right of it. The top-left square is poisoned — whoever is forced to eat it loses. The computer plays perfectly. Everything runs in your browser; nothing is uploaded.
A proof that names no move
The first player wins Chomp on every board bigger than a single square, and the proof is three lines. Suppose every opening lost. Then eating just the bottom-right corner loses, so the second player has a winning reply to it. But eating that corner removed nothing except itself — so the first player could have played that reply as their own opening instead, and won. The assumption contradicts itself.
That argument is complete and it names no move. It never constructs anything; it works purely by ruling a possibility out. So the natural question is what it is declining to tell us — which is answerable by solving the boards outright:
| Board | First player | Winning first moves | Which |
|---|---|---|---|
| 1 × 1 | loses | 0 | — |
| 1 × 2 | wins | 1 | r1c2 |
| 1 × 3 | wins | 1 | r1c2 |
| 1 × 4 | wins | 1 | r1c2 |
| 1 × 5 | wins | 1 | r1c2 |
| 1 × 6 | wins | 1 | r1c2 |
| 1 × 7 | wins | 1 | r1c2 |
| 1 × 8 | wins | 1 | r1c2 |
| 2 × 2 | wins | 1 | r2c2 |
| 2 × 3 | wins | 1 | r2c3 |
| 2 × 4 | wins | 1 | r2c4 |
| 2 × 5 | wins | 1 | r2c5 |
| 2 × 6 | wins | 1 | r2c6 |
| 2 × 7 | wins | 1 | r2c7 |
| 2 × 8 | wins | 1 | r2c8 |
| 3 × 3 | wins | 1 | r2c2 |
| 3 × 4 | wins | 1 | r2c3 |
| 3 × 5 | wins | 1 | r3c4 |
| 3 × 6 | wins | 1 | r2c4 |
| 3 × 7 | wins | 1 | r3c5 |
| 3 × 8 | wins | 1 | r2c5 |
| 4 × 4 | wins | 1 | r2c2 |
| 4 × 5 | wins | 1 | r3c3 |
| 4 × 6 | wins | 1 | r2c3 |
| 4 × 7 | wins | 1 | r3c4 |
| 4 × 8 | wins | 1 | r2c4 |
| 5 × 5 | wins | 1 | r2c2 |
| 5 × 6 | wins | 1 | r3c4 |
| 5 × 7 | wins | 1 | r2c3 |
| 5 × 8 | wins | 1 | r5c7 |
| 6 × 6 | wins | 1 | r2c2 |
| 6 × 7 | wins | 1 | r5c5 |
| 6 × 8 | wins | 1 | r3c4 |
| 7 × 7 | wins | 1 | r2c2 |
| 7 × 8 | wins | 1 | r3c3 |
Two things fall out. The first player does win every board bigger than 1 × 1, as promised. And the winning move is unique every single time — across all 37 boards solved here, including long thin ones up to 2 × 12, the number of winning openings is always exactly one. Not one board offers a choice.
So strategy stealing proves the existence of something there is only ever one of, and says nothing whatever about which it is. That is an unusually sharp gap between knowing a thing exists and being able to point at it.
Two families have a rule; the rest wander
Square boards are solved and easy to state: eat the square diagonally next to the poison. That leaves an L — one full row and one full column — and from there you mirror whatever your opponent does on the other arm. Every square board above takes r2c2.
Two-row boards have a rule too: eat the far corner, leaving a row of n above a row of n−1. Every two-row board above does exactly that, out to 2 × 12.
Outside those two families, nothing. Watch the winning move on a three-row board as it widens:
| Board | 3 × 3 | 3 × 4 | 3 × 5 | 3 × 6 | 3 × 7 | 3 × 8 | 3 × 10 |
|---|---|---|---|---|---|---|---|
| Winning move | r2c2 | r2c3 | r3c4 | r2c4 | r3c5 | r2c5 | r2c6 |
It moves about rather than settling. And it is not always tucked near the poison either — on a 5 × 8 the only winning opening is r5c7, most of the way down and most of the way across. Here are the boards outside the two solved families:
| Board | Only winning move |
|---|---|
| 3 × 4 | r2c3 |
| 3 × 5 | r3c4 |
| 3 × 6 | r2c4 |
| 3 × 7 | r3c5 |
| 3 × 8 | r2c5 |
| 4 × 5 | r3c3 |
| 4 × 6 | r2c3 |
| 4 × 7 | r3c4 |
| 4 × 8 | r2c4 |
| 5 × 6 | r3c4 |
| 5 × 7 | r2c3 |
| 5 × 8 | r5c7 |
| 6 × 7 | r5c5 |
| 6 × 8 | r3c4 |
| 7 × 8 | r3c3 |
| 3 × 10 | r2c6 |
| 4 × 9 | r4c8 |
No general formula for Chomp is known, and those are the numbers any formula would have to account for. The whole table above cost 3,202 positions to solve, which is why it is recomputed on every build rather than written down — but the boards grow fast, and that is the reason nobody simply solves their way to a pattern.
How to use
- Pick a board size and whether you move first.
- Click a square to eat it and everything below and to the right of it.
- The top-left square is poisoned — whoever is forced to eat it loses.
- The computer plays perfectly, so only a winnable position can be won.
- Press Hint to see whether a winning move exists and what it is.
Frequently asked questions
What are the rules of Chomp?
Start with a rectangle of squares and poison the top-left one. A move picks any remaining square and eats it together with every square below and to the right of it. Players alternate, and whoever is forced to eat the poisoned square loses. There is no luck and nothing hidden.
Who wins Chomp?
The first player, on every board bigger than a single square. The proof is a strategy-stealing argument: if every opening lost, then eating just the bottom-right corner would lose, so the second player would have a winning reply — but eating that corner removes nothing else, so the first player could have played that reply as their own opening. The assumption contradicts itself.
So what is the winning move?
That is the striking part: the proof does not say, and in general nobody knows. It works by ruling out a possibility rather than constructing anything. Solving the boards here shows the winning move is unique on every one of them — so the argument proves the existence of something there is only ever one of, without giving the slightest hint which.
Is there ever more than one winning first move?
Not on any board solved here. Across every board up to 7 by 8, plus long thin ones out to 2 by 12, the number of winning openings is always exactly one. A position with a winning strategy usually offers several ways to keep it; Chomp does not.
Are any board shapes actually solved?
Two families. On a square board, eat the square diagonally next to the poison — that leaves an L of one row and one column, and from there you mirror whatever your opponent does. On a two-row board, eat the far corner. Outside those two, no formula is known.
Does the winning move follow any pattern?
None that is visible. On a three-row board it runs r2c2, r2c3, r3c4, r2c4, r3c5, r2c5 as the board widens — moving about rather than settling. And it is not always near the poison: on a 5 by 8 board the only winning opening is r5c7, most of the way down and most of the way across.
Why not just solve bigger boards and find the pattern?
Because the number of positions grows very fast with board size. The table on this page covers boards up to 7 by 8 in a few thousand positions, but the count climbs steeply beyond that, which is exactly why Chomp has resisted a general solution despite the game being trivial to state.
Does this send anything anywhere?
No. Every game is played and solved entirely in your browser, and nothing is uploaded.
🔒 This tool runs entirely in your browser. Nothing you enter is uploaded, logged, or stored.