I ran my program and tried a word with 5 letters and it worked. 6 letters also worked. When I tried 4 letters it was only then that I got the error.
I’ll attach an image of the error along with the link to my code
I ran my program and tried a word with 5 letters and it worked. 6 letters also worked. When I tried 4 letters it was only then that I got the error.
I’ll attach an image of the error along with the link to my code
In PlayGame, you have the status returned from CheckGuessValidity but never used it farther. So you’ve to check if status is Ok then proceed with calling SubmitGuess method.
ah, you’re right. I saw the beginning of the next video and it wasn’t clear that we were going to code it at that point rather the having it already working in this lesson.
Thank you for the reply!