Following 20 questions, I thought I’d create a game that’s a bit more mathy.

I come up with a 5-digit (digits do not repeat) number and you try to guess it. (0-9, 0 can be leading number)

For every guess, I will provide a clue, in the form of A: #, and B: #. The number of As means the number of digits that both exist and are in the correct position. The number of Bs means the number of digits that exist but are not in the correct position.

For example
My number: 12345
Your guess: 56789, I say: A: 0, B: 1
Your guess: 13579, I say: A: 1, B: 2 (since 1 both exists and is in the correct position, and 3 and 5 exist but are not in the correct position)
…etc.

Try to guess my number in 15 guesses (I have no idea if 15 is enough or too many, but since we’re all actuaries here, I trust that you will be brilliant).

Did your number change in the example from 12345 to the first guess? I don’t understand the second guess explanation, unless it changes to be 1 exists and in the right position, and 3 and 5 exist, but in wrong position.

Mistakes do happen frequently for this game…I should make up a rule for that. Since a mistake can lead the guesses astray, if a mistake is discovered, the guess count resets to where the mistake took place.

For example,

if I make a mistake at guess 3, and the game continues to guess 15, when I post the revised guess 3 clues the guess count resets to 3.