Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: A Word Game

by jwkrahn (Abbot)
on Feb 10, 2022 at 00:48 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found