Mastermind
The CPU has set a secret 4-colour code. Guess it in 10 tries. After each guess you get black pegs (right colour, right spot) and white pegs (right colour, wrong spot).
About the Mastermind
The Mastermind on ToolHaven is a free, browser-based tool that helps you the CPU has set a secret 4-colour code. Guess it in 10 tries. After each guess you get black pegs (right colour, right spot) and white pegs (right colour, wrong spot). It runs entirely in your browser, so no data is sent to any server, and no account or signup is required. Whether you are a student, professional, or just someone looking for a quick answer, this tool gives you accurate results in seconds.
How to use the Mastermind
Using this tool is straightforward. Click a colour from the palette to place it in the next slot. Fill all 4 slots then click Submit to check your guess. Black peg = correct colour and position. White peg = correct colour, wrong position. Crack the code in 10 guesses or fewer.
Results are updated instantly as you enter values, so there is no need to click a submit button. You can adjust inputs freely and compare different scenarios in real time.
Why use ToolHaven?
ToolHaven offers 178+ free online calculators and tools across categories including Finance, Health, Math, Education, and more. All tools are free to use, require no installation, and work on any device. Your inputs never leave your browser, so your data stays private. The Mastermind is part of our Fun collection. Explore related tools in the sidebar to get more done in one place.
How to use
- Click a colour from the palette to place it in the next slot.
- Fill all 4 slots then click Submit to check your guess.
- Black peg = correct colour and position. White peg = correct colour, wrong position.
- Crack the code in 10 guesses or fewer.
Related tools: