word guessing game: fix bug
word guessing game: fix bug: a task in smol-software-harbor (Harbor dataset). The word game colours repeated letters wrongly: guessing speed for the answer abide shows both e s as yellow although the answer has only one e . Rewrite feedback() in wordle.py to follow its docstring: greens first…
The task
The word game colours repeated letters wrongly: guessing `speed` for the answer `abide` shows both `e`s as yellow although the answer has only one `e`. Rewrite `feedback()` in `wordle.py` to follow its docstring: greens first, then a letter is yellow only as many times as it is still unmatched in the answer, left to…
Part of efederici/smol-software-harbor.