Coda – Number Deduction Game

Crack the hidden code in Coda, the number deduction game of memory and logic. Remember your own face-down tiles, read your rivals' rows, and be the last player holding a secret. Play free against 1–3 AI opponents.

Frequently Asked Questions

Have another question? Let us know.

How do you play Coda?

On your turn you draw one tile from the deck and look at it in secret. Then you point at any face-down tile of an opponent and announce a number and a color. If you are right, that tile is flipped face-up in place and you keep guessing as long as you dare. If you are wrong, the tile you drew is placed face-up into your own row and your turn ends. If you stop before missing, you instead slide your drawn tile face-down into your row at its sorted spot. The last player with a face-down tile left wins.

What are the rules of Coda?

The deck has 24 tiles: numbers 0–11 in black and white, one tile of each combination. Each player starts with 4 face-down tiles (3 in a 4-player game) sorted ascending, black to the left of white on equal numbers. Guesses must match both number and color. Revealed tiles stay in place and stay public. A player with no face-down tiles left is eliminated. When the deck is empty, turns are guess-only and a wrong guess eliminates the guesser.

Can you see your own cards in Coda?

Only sometimes — that is the twist. You look at your starting tiles once during setup and you look at each tile when you draw it, but after a tile is placed face-down in your row, nobody can read it: not your opponents, and not you either. You must remember your own code and reconstruct it from what you drew, where your tiles landed, and which of them have been revealed. This web version keeps that rule: your face-down tiles show only their backs.

How does the ascending order rule work?

Every row is sorted from left to right in strictly increasing order, and every insert lands at its forced sorted position — you never choose where to put a tile. The order also decides what each insert reveals: a new face-down tile is known to be larger than its left neighbor and smaller than its right neighbor, so the landing position becomes public information even though the value stays hidden.

What happens when two tiles have the same number (black vs white)?

Equal numbers never tie: the black tile counts as smaller and always sits to the left of the white tile of the same number. This makes the order unique for any group of tiles. It also matters for guessing — black 5 and white 5 are two different tiles standing in two different places, and announcing the right number with the wrong color is a miss.

How do you win at Coda?

You win by being the last player with at least one face-down tile. You lose all protection only when every tile in your row has been flipped face-up, so each correct guess by an opponent eats directly into your remaining life. Games cannot stall: every wrong guess reveals a tile, so one by one the codes are ground open until only one secret remains.

Is Coda good for 2 players?

Yes — two players is the classic and most balanced way to play. It becomes a pure duel of information: every insert you make boxes your opponent's candidates, and every guess they miss gives you material. This online version supports 2-player games (you against one AI) as well as 3- and 4-player games with two or three AI opponents.

Is Coda the same as the Da Vinci Code game?

Yes. The game was originally published as Coda, designed in Japan by Hiroaki Suzuki and Eiji Wakasugi (2004). Winning Moves renamed it The Da Vinci Code for its European release to ride the popularity of Dan Brown's novel — the game itself has nothing to do with the book. Blue Orange distributes it as Coda in the United States, and Chinese players know it as 达芬奇密码 (Da Vinci Code password). They are all the same number-deduction game.

Explore Game Details

How to Play Coda

Goal: be the last player with at least one face-down tile. Each player stands a row of numbered tiles in front of them, sorted ascending — and here is the twist that makes Coda special: nobody can read their own face-down tiles. You saw them at the start and you see each tile you draw, but after that you must remember and deduce.

Setup

  • The deck has 24 number tiles: values 0–11 in two colors (black and white), one tile of each combination.
  • Each player draws 4 tiles (in a 4-player game, 3 tiles each — official rule), looks at them secretly, and places them face-down in a single row, sorted from left to right in ascending order.
  • Equal numbers: the black tile goes to the left of the white tile — black counts as the smaller one. This makes the order unique for any set of tiles.
  • Your starting tiles are sorted for you automatically; memorize them before the game begins.

Your Turn

Every turn has up to three steps:

  • Draw. Take the top tile of the deck and look at it in secret. Do not insert it yet — hold it outside your row.
  • Guess. Point at any face-down tile of any opponent and announce a number and a color (for example: black 5). Both must be right — naming the right number with the wrong color counts as a miss. Equal numbers are distinct targets: black 5 and white 5 are two different tiles in two different places.
  • Resolve. If you are right, the opponent flips that tile face-up where it stands — it stays in place, permanently public, forever constraining its neighbors — and you keep guessing. You may switch targets or even opponents as often as you like, and you may stop at any time. If you are wrong, the tile you drew this turn is placed face-up into your own row at its sorted position, and your turn ends immediately.

Ending your turn safely: if you have not guessed wrong, you may stop whenever you like and insert the drawn tile face-down at its sorted position. The value stays secret, but the landing position is public: everyone now knows your new tile is larger than its left neighbor and smaller than its right neighbor (with the black-before-white rule for ties). That is the deduction engine of the whole game — a skilled player inserts to leak as little as possible, and guesses aggressively when a reveal would land harmlessly at the edge.

Winning and Elimination

  • A player whose row contains no face-down tile is immediately eliminated. Revealed tiles never leave the row — they still pin down the range of their hidden neighbors.
  • The last player holding at least one face-down tile wins. There is no draw: every miss exposes something, so games always converge.

The Empty Deck

When the draw pile runs out, turns have no draw step — guessing only. A wrong guess can no longer be punished with a face-up insert, so in this implementation the official-style ruling applies: the player who guesses wrong with an empty deck is eliminated. Choose your announcements carefully.

What the AI Sees

The AI opponents play fair: they know only what a human could know — the public reveals, the landing positions of hidden inserts, the full guess history, and whatever they legitimately drew themselves. They maintain candidate sets for their own forgotten tiles exactly like a careful human would.

Strategy Tips

Memorize in ranges, not numbers. Remembering five exact tiles is hard; remembering that your leftmost tile is small and your second tile sits between 3 and 6 is easy — and it is almost as useful, because insertion and reveal feedback keep narrowing those ranges for you.

Read the inserts. Every face-down insert is a public announcement: the new tile beats everything on its left and loses to everything on its right. When an opponent inserts between two hidden tiles, both neighbors are boxed into a range. The strongest players listen to positions more than to cards.

Guess the middle of a narrow range. The best target is a tile with few remaining candidates — usually a slot squeezed between two revealed tiles or freshly boxed in by an insert. Guessing a wide-open edge slot is close to a coin toss, and every miss feeds your rivals information.

Time your gambles by the landing spot. If your drawn tile would land at the end of your row, a wrong guess costs almost nothing — an edge reveal pins no hidden neighbor. If it would land between two hidden tiles, think twice: a face-up insert there cuts both neighbors' ranges in half.

Hide wide, reveal narrow. When ending your turn, remember that middle values are the ones whose future inserts will say the least. Keep boundary tiles (0 and 11) for early moves where their positions are least constraining, and let middle values ride in your hand until a reveal would leak little.

Hunt broken codes. An opponent down to one hidden tile is one correct call from elimination — and each reveal you make on anyone else sharpens your view of everyone's rows. Pressure the short rows first, but only when your hit chance is real: a miss against a nearly-dead player can just as easily hand them the game back.

About Coda

Coda is a minimalist deduction game originally designed in Japan by Hiroaki Suzuki and Eiji Wakasugi, first published in 2004. When Winning Moves brought it to Europe it was renamed The Da Vinci Code — a commercial nod to Dan Brown's then-blockbuster novel, unrelated to the game's actual theme — while Blue Orange kept the original name Coda for the United States market. Chinese-speaking players know it as 达芬奇密码. Under any of its names, the game is the same pocket-sized battle of memory and inference: 24 number tiles, a strict sort order, and codes that even their owners cannot read.

Coda is often described as a dueling Mastermind: instead of cracking a static puzzle, every player is simultaneously a code-maker and a code-breaker, and the deduction is powered by positions rather than feedback pips. A typical session takes about 15 minutes, and the rules fit on a single rule sheet — which has made the game a quiet favorite for classrooms, travel, and quick family rounds ever since.

This page is an unofficial, fan-made web implementation with CSS-drawn tiles and lucide icons (no official artwork). It follows the official base-game rules — the two Scramble tiles of the advanced variant are left out — and seats you against 1–3 AI opponents across three difficulty tiers. The AI never peeks: it reasons over the same public information you have.

Coda and The Da Vinci Code are trademarks of their respective owners. This page is an unofficial, fan-made implementation and is not affiliated with or endorsed by the trademark owner.

Buy me a coffee