avalonv/curdle

Extra letters shouldn't count as yellow if they have been identified as green

avalonv opened this issue · 0 comments

In the original game, whenever a player's guess correctly identifies a letter's location, extraneous instances of that letter for that guess are greyed-out, instead of being printed as yellow.
image
image
This is a seemingly small but fundamental mechanic as it lets the player know not to repeat the same letter unnecessarily, without it guessing the word becomes considerably harder depending on what combinations are used.

The thing to consider is whether to bake this in the word comparison algorithm, or only in how the word is displayed.