Guess the 4-digit code
(each digit is between 0 and 9).

The codebreaker has to guess a randomly generated
4-digit code within 10 attempts.

After each guess the correct position
(is marked with 'X')
and correct but in the wrong position
(is marked with 'O').

Attempts left:10