Duplicate letters show as yellow when they should be grey
Droobert opened this issue · comments
The issue:
In the Wordle web app, if you have found all of the placements for a given letter but also included extra unneeded copies of that letter, the incorrect placements of that letter will be grey. For example:
The bot currently does not function in this way, instead showing all incorrect placements of a letter as yellow, even if all correct placements have been found. For example (look at the i's and the e's, they are yellow when they should be grey):
The solution:
I suggest changing the behavior when deciding if the letters are colored yellow vs grey. If all possible correct instances of the letter have already been correctly placed in that word, then color the incorrect placements of that letter grey. Otherwise, color all incorrect placements of that letter yellow.
Hi!
This was fixed in my engine (which this bot uses) in vidhanio/wordle@2e6780c
I will update the bot to the new engine with the next release. :)
Oh, cool! Good to hear.
This issue should be resolved now, thank you for the report! :)