How to play
Color Code: the daily code-breaking logic game with coloured pegs
Color Code is a daily code-breaking logic game: a code of coloured pegs is hidden, and you crack it with guesses. After each guess you learn how many pegs are the right colour in the right place and how many are the right colour in the wrong place. That's the only clue; the rest is logic.
What is Color Code?
Color Code is a daily code-breaking logic game: a code of coloured pegs is hidden, and you crack it with guesses. After each guess you learn how many pegs are the right colour in the right place and how many are the right colour in the wrong place. That's the only clue; the rest is logic.
There are three codes a day: easy has four different colours out of six, medium allows a colour more than once, and hard has five pegs and seven colours. Every colour also has its own symbol (● ▲ ■ ◆ ★ ✚ ♥), so the game is colour-blind friendly. Free, no sign-up.
How to play
- Tap a colour below to put a peg in the next empty slot of the row. Tap a placed peg to take it out; ⌫ removes the last one. On a keyboard, the keys 1–7, Backspace and Enter work too.
- When the row is full, press Check. Pips appear next to the row: a dark pip is a right colour in the right place, a light pip is a right colour in the wrong place. The order of the pips does not tell you which peg they belong to.
- You have 8 guesses on easy, 10 on medium and 12 on hard. When every pip in a row is dark, you've cracked the code. If you run out of guesses or press Solution, the code is shown.
- You can switch levels at any time; each has its own clock. The day is done when all three levels are finished.
Tips
- Use as many different colours as you can in your first two guesses: you quickly learn which colours are in the code at all.
- If a guess gets no pips at all, you can rule out every colour in that row.
- Change only a little at a time. If you swap two pegs and the number of dark pips goes up, one of them has found its place.
- On medium and hard a colour can appear more than once: if the colour count doesn't add up, think of repeats.
Strategy
- Think in eliminations: after each guess, ask which codes still fit all the pips so far. A good guess roughly halves what's left.
- Once you know the four colours, the order is settled by swaps. Keep one sure peg in place and rotate the others.
- On hard there are five slots and seven colours: make the first three guesses scouting guesses and only then hunt for the order.
A worked example
Say the code is red, blue, yellow, green. Your first guess is red, yellow, purple, orange. You get one dark and one light pip: red is in place, yellow is in the code but elsewhere, purple and orange are not in it.
Your second guess is red, blue, green, yellow: two dark and two light pips, so all four colours are right and green and yellow are swapped. The third guess, red, blue, yellow, green, gives four dark pips: cracked.
History of the game
Code breaking with coloured pegs grew out of an old pencil-and-paper game for two, first played with numbers: one player picks a secret code, the other asks. Generations have played it on squared paper and as a board game; it trains deduction and patience.
Frequently asked questions
- What do the pips mean?
- A dark pip: one peg is the right colour in the right place. A light pip: one peg's colour is in the code, but somewhere else. If a colour is twice in your guess but once in the code, it earns only one pip.
- Why doesn't it tell me which peg is right?
- That's the heart of the game: the pips only give counts, and their order doesn't follow the pegs. You work out which peg goes where by comparing your guesses.
- Can a colour repeat in the code?
- Not on easy: there are four different colours. On medium and hard, yes: a colour can appear more than once (but never in every slot).
- I'm colour-blind. Can I play?
- Yes. Every colour has its own symbol (● ▲ ■ ◆ ★ ✚ ♥), shown on every peg, so the code can be cracked from the symbols alone.
- When is there a new code?
- Every day at midnight (Central European time), three new codes. Past days can be replayed in the archive.
- Can I share my result?
- Yes. The share text shows a row of squares per level for your guesses, without giving the code away.