English

Code Pegs with a coach

Code Pegs with a coach

Crack the code

A code of coloured pegs is hidden. Make a guess, and it gets marks: a black one for every peg of the right colour in the right place, a white one for every other right colour in the wrong place. The marks never say which pegs they mean. Crack the code before the guesses run out.

Every mark counts

Each guess rules codes out, and the coach knows exactly how many still fit. In Training it grades every guess (best, good, can't be it, or wasted), says why, and suggests the next guess. Or make a code yourself, and watch the computer break it step by step.

Lessons

Puzzles on reading the marks and on which code fits, made fresh every time.

Ten levels

From 4 pegs and 6 colours with no colour twice to 6 pegs, 8 colours and empty holes. Play mode keeps your fewest guesses and best time for each level.

New game

Level

Every guess you make gets marks. The coach counts the codes that still fit.

Settings

Appearance
Training
Quiz meCount the codes yourself. Off: after each guess, the coach shows how many codes still fit.
Stop on mistakesPause after a guess that can't be the code or tells nothing new, so you can take it back
Options
SoundSoft sounds for pegs, marks and a cracked code

How to play

Rules
  • A code of pegs is hidden: 4 to 6 pegs, each one of the level's colours.
  • Make a guess: fill every hole of the row with a colour, then tap Guess.
  • A black mark ●: a peg of the right colour in the right place.
  • A white mark ○: one of the other pegs is a right colour, but in the wrong place. Each peg of the code earns one mark at most.
  • The marks never say which pegs they mean. At the top levels an empty hole counts as one more colour.
  • Crack the code (all black marks) before the guesses run out.
Ideas the coach uses
Reading the marks

Blacks first: the same colour in the same place. Then the colours left over: each one in both the guess and the code earns a white.

A first guess

With repeats allowed, two pegs each of two colours (red, red, orange, orange) tells more than four of one colour.

Guesses that fit

A guess fits if it would get, against every earlier guess, the marks that guess got. Only a guess that fits can be the code.

Counting codes

Each guess splits the codes that fit into groups, one for each set of marks it could get. The marks say which group the code is in.

The best split

A strong guess leaves only small groups: whatever its marks, few codes are left. The coach picks the guess that splits them best.

A clever probe

Sometimes a guess that can't be the code splits the codes left better than any that can. The coach calls it a probe.

Playing
  • Tap a hole, then a colour. The next empty hole is picked for you. Tap a filled hole twice to empty it.
  • When every hole has a peg, tap Guess. Erase takes a peg out.
  • Keys: 1 to 8 put a colour in (0 an empty hole, at the levels that have it), Backspace erases, Enter guesses, the arrows move between holes.
  • U takes a guess back, H shows a hint.