|
The secret word is chosen using the call to the myRand function. At the moment that is being done in the call to playOneRound.
What you need to do is to pick a random word using myRand(10) and store it in a variable, say secret. You can then find the word in the wordlist array using wordlist[secret] and you can find the length of that word using strlen. Remember to use the "secret" variable when you call playOneRound.
|