Toolstia / Mastermind game
Mastermind game
Crack the hidden code of four colours. After each guess you see how many colours are in the right place and how many are the right colour in the wrong place. You have ten guesses.
Guess 1 of 10. Colours can repeat.
| Guess | Colours | Feedback |
|---|
Crack the hidden code of four colours in 10 guesses. After each guess you see how many colours are in the right place and how many are the right colour in the wrong place.
How it works
- Pick four colours with the buttons, then press Submit guess.
- Read the feedback for each guess.
- Use it to narrow down the code before you run out of guesses.
The rules
The code has four positions and six possible colours. The same colour can appear more than once.
Feedback
Right place means the right colour in the right position. Right colour only means the colour is in the code but in a different position.
Strategy
Start with two pairs, such as red red blue blue, and use the feedback to work out which colours are present.
Ten guesses
A good player usually solves the classic game in five or six guesses.
Questions
Does the feedback show which peg is right?
No. It gives only the counts, which is what makes the game a puzzle. Everything happens in your browser, and nothing you enter is sent anywhere.
Can I use a colour twice?
Yes, in your guess and in the code.
Can I undo a colour?
Yes. Use Undo before you submit the guess.