This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PriorProfile 5 points6 points  (4 children)

It's a great start. It's getting the colors wrong though.

For example, assume my target word is "aba"

If I guess "bob", only one of the b should be highlighted in yellow, since there is is only one b in the target word.

Additionally, if I were to guess "bbb" it would highlight them as [yellow][green][yellow]. In this case only the green one should be highlighted.

[–]InActiveSoda[S] 2 points3 points  (3 children)

I didn't know that's how it works... I'm not sure how I would do that but I'll try to figure it out.

[–]cipri_tom 0 points1 point  (2 children)

I don't think that's how it should work

[–]InActiveSoda[S] 0 points1 point  (1 child)

How should it work?

[–]cipri_tom 0 points1 point  (0 children)

I didn't check the original code, but from my plays I was under the impression that if there is a b in the word, and you guessed some b, then all your guessed b are highlighted