octokatherine / word-master

A Mastermind-like word guessing game
MIT License
381 stars 240 forks source link

Repeated letters don't function the same as Wordle #16

Closed Costanza closed 2 years ago

Costanza commented 2 years ago

Example: If I enter the word Fluffy, and the solution is Funky. Both "f" characters appear as yellow. Only one should, as there is only one "f" in the solution. In Wordle, two yellow "f" characters would represent the solution has two "f"s and both are currently in the wrong place.

Sam0ht commented 2 years ago

I had a look at this. Guessing 'FLUFF' for 'FUNKY' works fine, as the first F is green and the last two are grey. However guessing 'BLUFF' results in both the final letters being yellow, as you describe.

image