You have to guess a set number of unique numbers (aka non repeat).
Example: the code is 1234.
If you guess 1230, you would get that your guess contains 3 correct numbers, and 3 numbers in the correct position
If you guessed 4321, you would get 4 correct numbers, but 0 in the correct position.