Mastermind
Crack the color code in minimal tries. A free logic puzzle and brain game to play online and climb the leaderboard. No download or sign-up, on phone, tablet or computer.
How to play Mastermind
Goal: Crack the hidden colour code in as few rows as you can.
Tap colours to fill the current row at the bottom of the board (tap a peg to clear it), then press Check. A solid green dot means a peg of the right colour in the right place; an amber ring means a right colour in the wrong place. The dots don't say which peg they mean. Tap an earlier row to copy it into the current one. Long-press a colour (right-click with a mouse) to cross it out as a note to yourself. Keyboard: 1-8 pick a colour, Shift+1-8 crosses one out, Backspace clears the last peg, Enter checks.
There is no row limit: keep guessing until you crack it, or press Give up to see the code. Easy: 3 pegs from 6 colours. Medium: 4 pegs from 6 colours. Hard: 5 pegs from 8 colours. In Settings, choose what the code may have: repeated colours (on by default on Medium and Hard) and empty places (pick the dashed empty button, or press 0, to leave a place empty). Each makes the code harder. Colour symbols (in Settings) put a shape on each colour, for players who find some colours hard to tell apart. The rows you needed go on the leaderboard.
More logic & math games
- 2048: Merge tiles to reach the magic number — 2048.
- Echo Memory Game: Repeat the growing pattern of lights and tones.
- Math Sprint: Solve as many sums as you can in 60 seconds.
- Peg Solitaire: Jump pegs to clear the board down to one.
- Kakuro: A crossword of sums — no digit twice in a run.
- Slitherlink: Draw one closed loop that fits every number.
- Futoshiki: Fill the grid with unique numbers while every inequality sign holds.
- Nonogram: Use the number clues to reveal the hidden picture.
- Tower of Hanoi: Shift disks with logic and precision.
- Hi-Lo Number Guessing Game: Can you find the hidden number in time?
- Magic Square: Arrange numbers to balance every sum.
- Sudoku: Classic 9×9 logic puzzle with AI hints.