Functions that can be const

GetCurrentTry() is pretty obvious but I think IsGameWon() should be const too because it wouldn’t change any variables i think. It’s just checking whether the game has been won so const wouldn’t effect what it does but would also keep it from unnecessarily changing anything.

Privacy & Terms