Which functions are candidates for function?

I believe we could use const on all of the functions in the class but for the game we would only want IsGameWon() to be const since whether the player won or not should not change but reset() needs to change and CheckGuessValidity() needs to change to check the guesses from the player.

Privacy & Terms