Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: A Word Game

by toolic (Bishop)
on Feb 10, 2022 at 18:32 UTC ( #11141315=note: print w/replies, xml ) Need Help??


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

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?

Replies are listed 'Best First'.
Re^4: A Word Game
by jwkrahn (Monsignor) on Feb 10, 2022 at 21:28 UTC

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

Re^4: A Word Game
by jwkrahn (Monsignor) on Feb 13, 2022 at 00:47 UTC

    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.

        I have fixed this specific bug. Enjoy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-08-10 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?