← back to Two Players

Code Breaker

Crack a secret 4-peg colour code using pin clues, against the computer or a friend. Every colour has a symbol, so it is colourblind friendly.

Think like a code detective

The secret code has 4 pegs. Each guess gets pins: a filled pin means right colour in the right place, a hollow pin means the colour is in the code but somewhere else. Using those clues, players rule out possibilities until they find the code, within 10 tries. Easy uses 4 colours, medium 6 colours, and hard 6 colours with repeats. In friend mode, players take turns setting the code on a hidden screen; whoever cracks it in fewer tries wins.

tags: #mastermind #code breaker #logic #two player game #puzzle

4 colours

    tries: 0 · left 10

    ● right colour & place○ right colour, wrong place

    record (fewest tries) (easy): –

    Guess the 4 secret pegs. After each check, a filled pin ● means right colour in the right place, a hollow pin ○ means the colour is in the code but somewhere else. Friend mode: players take turns making the code; whoever cracks it in fewer tries wins. Keyboard: keys 1–6, Backspace, Enter.

    How to install the app

    This browser has not offered an automatic install button yet. Install it from the browser menu:

    Android (Chrome)
    Tap the ⋮ menu at the top right, then choose "Install app" or "Add to Home screen".
    iPhone / iPad (Safari)
    Tap the Share button (the square with an up arrow), then choose "Add to Home Screen". On iOS this only works in Safari.
    Computer (Chrome / Edge)
    Click the install icon (a monitor with a down arrow) at the right end of the address bar, or menu ⋮ → "Install Daily Apps".