Hacker News new | past | comments | ask | show | jobs | submit login

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.




Sorry 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 :)


wordle-play.com fails the test. wordlegame.org passes. Implementations disagree, but I agree with how you are defining it should work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: