The game randomly determines a three digit number that the player has to guess.
It has to be done in twenty turns or less and for each guess the game gives a clue in the form of a number 000 to 006.
000 means no digits are right and 006 that the guess is right. 001 means one digit is right but in the wrong position and 002 means one position is right or that two digits are right but in the wrong position. 003-006 is for any feasible combination of the previous two.