Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Letter input highlights do not take into account already placed letters #26

Closed
vjrasane opened this issue Jul 4, 2022 · 3 comments
Closed

Comments

@vjrasane
Copy link

vjrasane commented Jul 4, 2022

IMG-20220704-WA0000.jpg

The second S in the image is highlighted as wrongly placed even though the only known S is already in its correct position. Intuitively, the second S should not be highlighted as it is not known.

@Cadiac
Copy link
Owner

Cadiac commented Jul 9, 2022

It is shown in yellow as you don't know at that point if the word contains more than one copy of "S".

If you had already made a guess with two "S" letters or a guess with "S" at that position it would be shown as dark grey, now that position still could be "S" and thus it is (correctly) shown in yellow.

@vjrasane
Copy link
Author

vjrasane commented Jul 15, 2022

Why show it as yellow if it is not known to exist?

It is shown in yellow as you don't know at that point if the word contains more than one copy of "S".

By the same logic the Ö should be yellow since we don't know at this point wether the word contains more than zero copies of Ö.

The second S should be light grey like the Ö since there is no information about it yet.

@Cadiac
Copy link
Owner

Cadiac commented Jul 24, 2022

Why show it as yellow if it is not known to exist?

Its shown in yellow because its know that the letter exists in the word, at least at the first position. The second S is shown in yellow here just to remind the user that there's S somewhere.

"Ö" isn't shown in yellow since we know nothing about that letter yet. If we knew that the word has no Ö it would be shown with dark grey border.

Anyways, this is the logic the helper highlighter works in this game, and at this point I don't think its ever going to change.

@Cadiac Cadiac closed this as completed Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants