CIPHER

Guess the secret code

How to Play Cipher

Cipher is a free online Mastermind-style code-breaking puzzle — for fans of Mastermind and Wordle who enjoy deduction-feedback shapes. A secret sequence of colored pegs is hidden — your job is to deduce it within 10 guesses, no download required.

  1. Pick a color from the palette at the bottom of the board. It auto-fills the next empty slot in your active row. Tap a filled slot to remove it.
  2. Fill all slots in the active row, then press SUBMIT (or hit Enter on desktop).
  3. Read the feedback pegs on the right: a filled white circle means exact match (right color, right position); an outline circle means the color exists in the code but in a different slot; empty circles mean the color is not in the code.
  4. Repeat up to 10 times. Logic in, code out.

The Probe — Cipher's Twist

Cipher is not a plain Mastermind clone. Each game grants you a small bank of Probes — a limited deduction power-up shown in the HUD above the board.

Modes

Scoring

Frequently Asked Questions

How does the feedback system work in Cipher?

After each guess, Cipher shows filled white pegs (exact position match) and outline white pegs (right color, wrong position) alongside the row. The feedback does not map positionally to your guess slots — just count the filled and outline pegs to narrow down possibilities.

What is the difference between Daily and Infinite mode?

Daily mode gives a 4-peg code with 6 distinct colors (no duplicates). One puzzle per calendar day, shared globally. Infinite mode uses a 5-peg code drawn from 8 colors with duplicates allowed — vastly harder with 32,768 possible codes.

Can duplicate colors appear in the secret code?

Not in Daily mode — the 4 pegs always use 4 distinct colors. In Infinite mode duplicates are allowed; the feedback algorithm handles them correctly, allocating each color match only once.

What is the Probe and how do I use it?

The Probe is Cipher's signature power-up: 2 per game in Infinite, 1 in Daily. Tap PROBE, then click a peg position. Cipher reports how many of the still-hidden positions share that position's secret color — a count only, never the color itself. It is a deduction aid, not a giveaway. A Probe does not use a guess row, the remaining count shows in the HUD, and Probes reset each new game.

Does using a Probe affect my Daily streak or score?

No. Probes are never persisted, so the once-per-day localStorage lock is untouched — a probed Daily still submits exactly once on first completion and scores by the normal (11 − attempts) × 100 formula. The Probe is a strategy aid, not an exploit.

How is the daily puzzle the same for everyone?

The daily code uses a seeded RNG with a seed derived from the calendar date. The same date produces the same seed worldwide, so every player gets an identical puzzle regardless of timezone.