The aim of the game is to crack a code which has been randomly created by the computer. To crack the code, you make guesses and the computer responds with clues.
To play Mastermind you will need:-
To make a guess simply click on a colour then click on one of the four rectangles in the top row and it will become that colour.
When you have done this for each space in your row click on GO!
After you click GO! the computer will respond with some colored dots
A BLACK dot means "Right color, right position." That is, one of your coloured rectangles is the right color and in the right position.
A WHITE peg means "Right color, wrong position." That is, one of your coloured rectangles is the right color, but it is in the wrong position.
If the computer responds with no pegs, then that means that the code contains none of the colours you have guessed
There is no relation between the position of the computers clues and the position of your coloured rectangles.