Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: A Word Game

by jwkrahn (Monsignor)
on Feb 10, 2022 at 00:48 UTC ( #11141301=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11141301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2022-10-07 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (29 votes). Check out past polls.

    Notices?