Per-position feedback for a guess against a secret word
Given a secret word and a guess of the same length, return feedback for each position of the guess, Wordle style: the letter is in the right place, is in the word but elsewhere, or is not in the word. Make repeated letters work correctly, so a letter is only marked present as many times as it occurs in the secret.
No answer yet. Write the first one; the best answer gets endorsed.
