The Game Of Mastermind

by Michael Hartley
Average rating of 0/5. (0 Ratings)
My rating
  • I love it!
  • I like it a lot!
  • I like it.
  • Just okay.
  • Not for me.
An online mastermind game

I remember my first Mastermind set as a kid - I loved the game!

Mastermind is a two-player game. One player is the codemaster, the other is the codebreaker. The codemaster chooses a secret code, the codebreaker tries to crack it.

Before you being to play, you need to decide how many possible letters there are in your code. The original Mastermind used (if I remember right) codes made of four or five colored pegs. You could just as well use letters or numbers - but stick to codes of between 5 to 8 different letters, about 4 or 5 long.

Once the codemaster has chosen a code (it's a good idea to write it down somewhere the codebreaker can't see it!) the codebreaker starts to guess codes.

After each guess, the codemaster tells the codebreaker

  • how many letters (or pegs or numbers) they got in the right places, and
  • how many they got right, but in the wrong places.

For example, if your code was FBEF and I guessed BACF, you would tell me I got

  • one letter right and in the right place (that's the last F, but you don't tell me that!)
  • and one letter right but in the wrong place (you know it's the B, but you don't tell me!)

In my opinion, kids have to be about 8 or 9 years old and up to properly understand the rules of the game, or think logically about what information the codemaster's responses gives them.

You just need a pencil and paper to play this game - one piece of paper for the codemaster record his or her code, another to record the guesses and responses. You can also buy boxed mastermind sets, of course! My website has a java applet that lets you play mastermind against the computer, either as the codebreaker or the codemaster.  

You can see if you're smarter than the computer! Or just use my online mastermind game to practice and improve your codebreaking skills!

Use a Facebook account to add a comment, subject to Facebook's Terms of Service and Privacy Policy. Your Facebook name, profile photo and other personal information you make public on Facebook (e.g., school, work, current city, age) will appear with your comment. Learn More.
Most Popular on Facebook