The goal of this game is to guess a 4-digit number within the least number of attempts possible.
With every guess, you will get a feedback indicating how many A and B you got with the guess.
An A means: one of the digits is correct, and is also at the right place.
A B means: one of the digits is a right number, but not at the right place.
For example, given that the answer is 0130, a guess of 3610 will receive 1A2B. 1A is 0, 2B are 1 and 3.