4 ms·
I found a bug. When there is a repeated character in the guess but not in the word, you’re given an incorrect color key. E.g. Word was GROUP I guessed SPOON O
by aldebran 5y ago
I found a bug. When there is a repeated character in the guess but not in the word, you’re given an incorrect color key.
E.g.
Word was GROUP
I guessed SPOON
Output was green O at location 3 and yellow at 4.
Happened for a couple more guesses making me think there is another O eventually to realize there are no more spots and it’s a bug.
- ajusa 5y agoSorry for that (and thanks to all the folks that pointed out the word matching code was wrong). I've pushed an updated version, it's 63 lines now. Turns out, HN finds and reports bugs much faster than family and friends :)
- joeframbach 5y agowordle-play.com fails the test. wordlegame.org passes. Implementations disagree, but I agree with how you are defining it should work.