🎮
🕹️

🎨 Mastermind

Crack the secret color code in the fewest guesses.

🎮 266 Games 🗂️ 17 Categories ⚡ Instant Play

How to play Mastermind

  1. 1

    Get started

    Select a slot, pick a color, then check your guess.

  2. 2

    The goal

    Black pegs = correct color and position, white = correct color, wrong position.

  3. 3

    Scoring & lives

    Crack the code in 10 guesses.

What is Mastermind?

Play Mastermind online for free. A secret code of four colors is hidden — guess the code and read the clues. Black pegs mean a correct color in the right spot, white pegs a correct color in the wrong spot. It is aimed at players aged 8+ and up, and a typical round takes around 5 minutes. If you already enjoy Puzzle, logic and Deduction games, you will feel at home here within seconds.

Mastermind rules made simple

The goal is straightforward. The on-screen instructions walk you through it, and you can start playing with a single click. Controls are intuitive: use your mouse or keyboard on a computer, or tap and swipe on a phone or tablet. Because everything runs locally in your browser, Mastermind reacts instantly and never needs a page reload.

Why play Mastermind?

Playing short, regular sessions supports memory, focus and mental agility.

Who is Mastermind for?

Hard to say? It is rated Medium, aimed at ages 8++ and above, and takes about 5 minutes per session — a good fit for a coffee break, a commute, or a relaxed evening. It works equally well on desktop, laptop, tablet and phone, with no account and nothing to install. Keep an eye on your best score: it is saved on your device so you can measure your progress over time.

Tips and strategy for Mastermind

  • ✔ Read the on-screen instructions once — understanding the goal is half the battle.
  • ✔ Try both themes (light and dark) for the most comfortable contrast.
  • ✔ Play in short sessions: five focused minutes a day beats one long marathon.
  • ✔ Focus on accuracy first — speed follows naturally once you trust your instincts.

Frequently asked questions

Yes. The game is responsive and touch-friendly, so it works on phones, tablets, laptops and desktop computers.

It is recommended for ages 8+ and is family-friendly, with no chat and no in-game purchases.

A typical round lasts around 5 minutes, so it fits easily into a short break.

It is rated Medium. The rules are explained on the page, and most players are comfortable within their first round.

Yes. Your best score is stored locally on your device, and finished runs can be submitted to the live leaderboard.

No — like most browser games it needs an internet connection the first time. Once the page is loaded it stays smooth even on slower connections.

More Puzzle & Logic games

← All free online games

Cookie Consent

We use cookies to improve your experience and for analytics. By continuing, you agree to our use of cookies. Learn more