Skip to main content

Chomp

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

You to bite

The marked corner stays. The last safe bite wins.

Select a safe square, preview the region, then confirm.

About Chomp

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.

How to play Chomp

  1. 01Select a safe square, preview its bite, then confirm. That square and all remaining squares below AND to its right disappear.
  2. 02The marked square at the top left is poisoned and cannot be selected. Whoever is left with only that square loses; the last safe bite wins.
  3. 03Play against a practice or exact optimal computer, or take turns with a friend on this device. Player A and B can each move first.
  4. 04Choose a full rectangle or a new stepped shape. These are repeatable strategy games, not numbered levels.

Chomp controls

Mouse or touch
Tap a safe square to preview the entire bite, then use Bite to confirm. Tap another square to compare, or tap the selection again to cancel.
Keyboard
Tab into the board, then use arrows to move across the full grid, Home/End for the first/last square, Enter or Space to select, and Escape to cancel. Removed and poisoned squares cannot be selected. Tab to Bite to commit.
Undo and pause
Undo returns to your previous decision, including the computer’s reply; in local play it takes back one bite. Pause stops input and thinking. Restart replays the same opening; New shape generates a stepped opening.

Chomp boards and openings

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.

Chomp tips and strategies

Plan the reply

Preview tells you what disappears, not whether the move wins. Compare at least two cuts and ask what your opponent can remove next.

Aim for a balanced L

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.

Use hints as analysis

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.

  • A bigger bite is not always better: picture which choices it leaves to the other player.
  • On a square board, leaving equal horizontal and vertical arms creates a useful mirror strategy. Random stepped shapes do not always favor the first player.

Chomp FAQ

What is removed by a Chomp move?

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.

Can I take the poisoned square?

No. The game ends as soon as only the poison remains. The player who just took the last safe square wins.

Is this the Chomp card or dinosaur game?

No. This is the mathematical poisoned-chocolate grid game, independently implemented. It has no connection with similarly named commercial games.

Is the computer always unbeatable?

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.

Does the first player always 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.

Can I play online with a friend?

Two people can share one device. Remote multiplayer and cross-device cloud saves are not included.