A clue is a feedback string for a five-digit guess: * marks a correctly placed digit, ^ marks a present but misplaced digit, and . marks an absent digit. section 3.3.4
Build a clue in two passes:
- Format both numbers as five-character strings, including leading zeroes, and initialize the result with dots. section 3.3.4
Example feedback
For hidden number 78737 and guess 87739, the clue is "^^**.": the second 7 and 3 are correctly placed, the opening 7 and 8 are misplaced, and 9 is absent. section 3.3.4
