Welcome to the Treehouse Community
Looking to learn something new?
Nicolas Hampton44,625 Points
Craig, everyone gets NoSuchElementException error when they game in repl b/c you only show the return for a split sec
While you were making the applyGuess method, Craig quickly makes the return isHit boolean and then it scrolls out of screen view. It only shows for a split second and he never comes back to it, so everyone has been making this error. As applyGuess is suppose to return a boolean, I see people have been substituting void instead of boolean to make this work, which is a problem later on when this method has to indicate a hit or miss in the game, but returns nothing without the return. Please fix the view in the video, though thanks for the error, it really helped me get used to the repl and debugging.
Craig DennisTreehouse Teacher
Awesome, thanks for pointing that out! I'll get some notes in there to make sure no one else encounters that!