+ 2
How do I solve double letter word problem in wordle with C?
https://replit.com/@3E06CHEUNG/Wordle-2-private#main.c Hereās the link to the programme of wordle Word to be guessed: FIELD My guess word: EFIED According to wordle, the letter that is correctly guessed but is in the incorrect position would turn yellow. My bug is that āEā is supposed to be guessed once only so if the E in my guessed word is in the incorrect position only 1 āEā would be required to turn yellow but now I have two āEās in my guess word and both of them turn yellow. Want some help on this ty
2 Answers
+ 3
The logic of the function Compare cannot work with multiple letters. I recommend you to develop a logic plan on the paper first.
+ 1
I have only rewritten the function Compare and all seems to work fine. Here is the code, of course if you donāt know how to continue and already like to analyze that:
https://sololearn.com/compiler-playground/c1NijqnzsFkr/?ref=app