The computer creates code from 4 non-repeating numbers. Your task is to guess. After entering each key, it will be known how many numbers are in place (bulls) and how many in the key, but are not in its place (cows).
- Secret number: 4271
- Opponent's try: 1234
- Answer: 1 bull and 2 cows. (The bull is "2", the cows are "4" and "1".)
After you entered the code, the computer changes any number to +1 or -1, if possible.
My record - 82 attempts.