Updated
About Code Breaker
Code Breaker is a crisp deductive code-cracking board game designed by MCR for TapGameHub. Behind the locked vault banner at the top of the wooden decoder sits a hidden sequence of four or five colored pegs chosen from seven distinct hues. You have ten turns to unmask the exact sequence — not by luck, but by testing structured hypotheses and cross-referencing the black and white clue pins returned after every row.
Every peg is stamped with a clear letter emblem (R, O, Y, G, B, P, C) alongside rich radial shading, making patterns effortless to scan on both desktop monitors and phone screens. Toggle freely between 4-peg and 5-peg vaults or turn duplicate colors on and off to tailor the deduction depth to your mood.
How to play
- Choose 4 Pegs or 5 Pegs in the header and decide whether Repeats On or Unique Only suits your round.
- Fill the highlighted active row by tapping any of the seven color pegs along the bottom tray (or pressing keys
1through7). Click any slot directly if you want to overwrite a specific position. - Select Check Guess (or press Enter) once every slot in the row is filled.
- Study the clue box on the right side of that row — each solid dark pin means right color in the right column, and each white outlined pin means right color in a different column.
- Refine your next hypothesis using all previous rows together until you score four (or five) exact dark pins before Turn 10 expires.
Controls
| Action | Keyboard & Mouse | Touch |
|---|---|---|
| Place a color peg | Click a palette peg, press 1–7, or press R, O, Y, G, B, P, C | Tap a color peg in the bottom tray |
| Choose active slot | Click any slot in the active row or press Left / Right Arrow | Tap any slot in the active row |
| Clear peg or row | Press Backspace / Delete or click Clear Row | Tap Clear Row or tap the selected peg again |
| Submit active guess | Press Enter or click Check Guess | Tap Check Guess on the board |
| Start a fresh vault | Click New Code in the top bar | Tap New Code in the top bar |
Game modes and feedback rules
- Exact duplicate accounting ensures clue pins never double-count. If the secret holds one Ruby peg and your guess places two Ruby pegs, at most one pin (dark if one is exact, otherwise white) is awarded for Ruby.
- 4-Peg Standard Vault balances brisk three-minute logic with classic five-turn optimal play.
- 5-Peg Master Vault adds a fifth column across seven colors while keeping the same ten-row ceiling, rewarding tight information-gathering openers.
- Win streak and best-turn tracking records your current consecutive vault streak and your fewest guesses needed on both 4-peg and 5-peg boards.
Strategy tips
- Cover four or five colors across your first two turns. When repeats are enabled, opening with a balanced pair like
R-R-O-Ofollowed byY-Y-G-G(orR-O-Y-Gin Unique Only mode) rapidly narrows which colors belong in the vault before you spend turns hunting positions. - Change one variable at a time in the midgame. If two rows differ in only a single slot and your total pin count rises or drops by one, you have proven whether the swapped-out color or the incoming color belongs in the code.
- Test every candidate against all prior rows before submitting. A valid secret must reproduce the exact black-and-white pin counts of Turn 1, Turn 2 and Turn 3 simultaneously; discarding contradictions early saves two or three late turns.
- Use confirmed absent colors as positional probes. Once you know Cobalt (
B) is nowhere in the vault, filling three slots with Cobalt and placing one suspect color in Slot 1 isolates whether that suspect color belongs in Slot 1 without muddying the pin count.
Frequently asked questions
What do the black and white feedback pins mean in Code Breaker?
Each solid dark pin confirms one peg has both the right color and exact slot position, while each white ring pin confirms a right color placed in the wrong slot.
Do feedback pins line up in the same order as my four pegs?
No. Feedback pins summarize the whole row — dark exact matches are listed first and white misplaced matches second — so you must deduce which pegs earned them.
Can the secret combination contain duplicate colors?
Yes when Repeats On is enabled, which is the default tournament setting; click the Repeats On button to switch to Unique Only if you prefer all-distinct pegs.
Is Code Breaker accessible for players with color vision deficiency?
Yes. Every colored peg carries a bold single-letter emblem — R, O, Y, G, B, P and C — so you can read and input combinations unambiguously by letter or color.
What is the difference between 4 Pegs and 5 Pegs mode?
Four Pegs creates 2,401 possible codes with repeats enabled, whereas Five Pegs expands the vault to 16,807 possibilities inside the same ten-turn limit.
Game not loading or controls not responding? See help with loading, controls and saves.