Fixes #16 Repeated letters being marked all yellow when that letter occurs only once in the correct answer word.
Makes a list of the letters in the answer, and removes each letter from that list when it is matched with a letter from the guessed word, to avoid matching a single answer letter with multiple guessed letters.
Sets letters to grey first as this is the default.
Iterates backwards through the green letters (exact matches) to allow matches to be removed from the answer letters list by index.
Removes the previous logic of crossing out letters with dots when exactly matched to prevent a later inexact match, as this is now covered by keeping the list of answer letters.
Note - I've tested this a fair bit manually, but it's hard to be 100% confident it's good(!)
Fixes #16 Repeated letters being marked all yellow when that letter occurs only once in the correct answer word.
Note - I've tested this a fair bit manually, but it's hard to be 100% confident it's good(!)