What else should be const

‘IsGameWon()’ is not taking in any variables and should NOT modify the status of the game’s outcome. For this reason I would say that it should be the other const method.

‘IsGameWon’ should only report back the status of the game, which will have been modified in another method.

Privacy & Terms