in reply to Re: A Word Game
in thread A Word Game (Update 3)

Thank you for the feedback.

Yes, this is the bug to which I eluded, but I am working on it.

Replies are listed 'Best First'.
Re^3: A Word Game
by toolic (Bishop) on Feb 10, 2022 at 18:32 UTC
    I tried the updated code, but I still get the same result. Did you test the code with QUOTE as the current word and EMOTE as the guess? Don't you see the 1st "E" as yellow?

      Yeah, sorry, give me a few days to figure it out.    :)

      I think I've fixed everything.

        Nope, the problem remains (I entered "sinus" as a guess, and the two "s" are yellow, though there's only one "s" in the word to guess, i.e. "paste").

        I think you must have a counter for each letter, to only "lit up" only the right number, starting with the "green" ones.