Master Mind is a code-breaking game. This version is based on the Invicta game from the mid 1970's.
It is also based on "The Computer As Master Mind", an article by Donald E. Knuth in 'Recreational Mathematics'.
To play it, click on one of the coloured glass balls and a copy will be placed in the first position. Continue until the row is filled. Click 'Score' to get a measure of how close the guess is to the hidden code.
A black scoring peg means a colour is correctly placed. A white peg means a colour is present but incorrectly placed. An incorrectly placed colour, if duplicated, will not be scored again unless that colour is used in another non-matching location in the hidden code.
'Clear' resets a row if not yet scored. 'Start' will set a new code immediately for a new game at any time. 'Quit' will end the current game and show the code.