MikhaD / wordle

A recreation of the popular game Wordle with additional modes and features. Made with Svelte in Typescript.

Home Page:https://mikhad.github.io/wordle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard letter color bug

lukeswitz opened this issue · comments

If a guess uses a correct letter twice, and the second usage isn’t in the answer, the keyboard turns the letter black when reevaluating the character. Needs an or statement to check if it exists in the answer.

Example: I input “shows” and the first two letters (s & h) turn green, but only the H will show green on the keyboard with the S being evaluated as wrong and changed back to black.

Duplicate of #10