pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.74k stars 833 forks source link

WORDLE issue right letter wrong position logic #583

Open webbrewer opened 2 years ago

webbrewer commented 2 years ago

Sample (which sample are you having trouble with)

Wordle

What Should Happen

If you submit a word with a letter that only appears once in the word and that's already in the correct position and then another word with same letter in the wrong position, that letter shouldn't be marked as "correct".

What Actually Happens

If you submit a word with correct letter in correct position, then submit another word with same letter in wrong position, that letter is marked as correct letter, wrong position. So you think the word has that letter twice which it doesn't in this case. To repro - make "BOOKS" the answer. Submit "RISKS" and you can see The first "S" is marked as correct but in wrong position. See attached image to cla untitled rify.

tecchan1107 commented 2 years ago

@webbrewer Thank you for reporting this issue! I will investigate in the coming days.

tecchan1107 commented 2 years ago

I am aware of the issue and investigating, but it is complicated and will take time to fix. Sorry😥