4 ms·
Does this suffer from the classic Wordle edge case bug of not showing green and yellow for a duplicate letter in a wrong and right position?
by pushedx 3y ago
Does this suffer from the classic Wordle edge case bug of not showing green and yellow for a duplicate letter in a wrong and right position?
- deleted 3y ago[deleted]
- jeremieb 3y agoLooking at the source code, I think there's no such bug. The `to_result` function first colors in green exact matches and counts wrong position letters, then it colors in yellow theses counted letters that are still uncolored. https://github.com/nolenroyalty/wardle/blob/main/app.py#L45 https://github.com/nolenroyalty/wardle/blob/main/app.py#L45