The marked corner stays. The last safe bite wins.
Select a safe square, preview the region, then confirm.
Every bite changes your opponent’s choices. Take a square and everything below and right of it; leave the poisoned corner to the other player.
Bites0
Squares12
The marked corner stays. The last safe bite wins.
Select a safe square, preview the region, then confirm.
Chomp is a two-player mathematical strategy game on a shrinking grid. A bite removes a lower-right rectangle of the remaining bar. There is no score to collect: your aim is to leave the other player without a safe square.
This independent version uses original code, text and paper-style drawings. It is free to play in the browser with no account or download. The poison is automatically left at the end, so a stray tap cannot lose the game.
The three board sizes are 3×4, 4×6 and 6×8, with 12, 24 and 48 squares including the poison. There is no numbered level campaign or move limit.
Practice chooses varied safe bites and can make strategic mistakes. Optimal searches the exact finite game tree for the supported positions. On a losing position, it cannot manufacture a guaranteed win. Either player may start; stepped openings can favor either side.
Settings can restore the full rectangle. New shape makes a random staircase within the selected size. Current configuration, opening and legal moves save in this browser when storage is available; they do not sync across devices.
Preview tells you what disappears, not whether the move wins. Compare at least two cuts and ask what your opponent can remove next.
On a square, a bite at row 2 column 2 leaves equal arms around the poison. Matching the opponent’s cuts on the opposite arm can preserve control. A rectangle does not automatically have this same opening.
Hint highlights a safe move that forces a win when one exists. Otherwise it says there is no forced win and offers a legal continuation. It never performs the move. Undo lets you compare branches.
The selected square plus every remaining square whose row and column are both at least the selected row and column. Squares merely on the same row to the left, or above the selection, stay.
No. The game ends as soon as only the poison remains. The player who just took the last safe square wins.
No. This is the mathematical poisoned-chocolate grid game, independently implemented. It has no connection with similarly named commercial games.
Optimal always takes a winning continuation when the current supported position has one. A losing position has no winning move against perfect play. Practice can make mistakes; no player is promised a win.
A full rectangle larger than a single square has a first-player winning strategy. That result does not apply to every stepped opening. Finding the move on the supported finite boards is what the exact search does.
Two people can share one device. Remote multiplayer and cross-device cloud saves are not included.