octokatherine / word-master

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

Possible colour problem #46

Closed billtubbs closed 2 years ago

billtubbs commented 2 years ago

thanks, great work!

I’m new to this game but shouldn’t the colour of the ‘e’s on the second row be the same?

Screenshot 2022-01-10 at 19 38 52
billtubbs commented 2 years ago

Duh. Of course not!

billtubbs commented 2 years ago

Sorry I meant to attach this screenshot:

Screenshot 2022-01-10 at 19 34 22

same question.

octokatherine commented 2 years ago

@billtubbs nope, what it means is that there is only 1 e in the solution! neither spot is correct. if they were both yellow, it would mean there are 2 e's

billtubbs commented 2 years ago

I see thanks for explaining. So it means there is one e but not in either of these positions? Thanks.

octokatherine commented 2 years ago

yep! no problem.

it's a bit confusing, in my original logic both e's would have been yellow even if there was only 1 in the solution, but then people thought that meant there were 2 in the solution and got confused.

there are flaws in both approaches haha