Brendan Passey999 Points
At this point do we need promptForGuess to return a boolean?
I was going through my code and realised that at this point returning the boolean isHit from promptForGuess doesn't do anything. I imagine we needed it in the past before we set it up to call the applyGuessMethod.
I've made it a void method and taken out the return line and it seems to work fine, am I missing something?
Steven Parker202,103 Points
You're right, since the return value is being ignored it make no difference if the function has a return or not. Disregarding the return is perfectly safe, though, so converting the function is purely optional.