"A" means the right digit and place; "B" means the right digit, wrong place. This old classroom game became a chat game.
That was when I learned computers excel at methods people cannot use: brute force. With a small search space, checking everything can be the best path through reality.
Meng-Meng is a little angel now, but he lives on in my work.