|NNM Mastermind 1.2.0|
Some of the functionality may be configured, so you can modify how difficult it will be to break the code. Decreasing the number of colors and/or the code length is a great way to learn the game. When 6 colors and a code length of 4 is too easy, you can instead increase the number of colors and/or the code length.
With the default configuration the code length is 4. You can configure the code length between 2 and 8.
With the default configuration there are code pegs in 6 different colors. You can configure the number of colors between 2 and 8.
The code pegs are colored:
The colors currently enabled are also shown below the shielded secret code/pattern. You may toggle the colors that you can choose from, by clicking the corresponding color in the row. The code pegs with matching color will also be toggled, except for code pegs in the current round. If a color is disabled, it will not be included when looping through colors, or in randomly created guesses.
Beware though, a temporary disabled color may, of course, still be hidden in the secret code.
The key pegs are colored:
Duplicates in the code are allowed.
Blanks are not allowed in the code, but you can leave blanks in your guesses.
With the default configuration the number of rounds is 10. You can configure the number of rounds between 6 and 16 (in steps by 2).
You click the holes for the current round to toggle between the enabled colors. When your guess is ready you click the corresponding Lock my guess button and the result of the round is calculated with key pegs added accordingly. If the guess is unsuccessful a new round is started.
In the list below, the corresponding keyboard shortcuts are defined in brackets.
You can also move between the code pegs for the current round and toggle the color of a code peg, by using keys. The current active code peg, when using keys, is visually marked (but you first have to activate the marker for each new game by moving left or right).
It is currently not possible to use keys to toggle which colors are enabled.
In future versions some of the following functionality may be implemented.
First version of NNM Mastermind was originally implemented in August 2019 by Anders Gustafson and released September 7.