bPlayAgain() ends game?

Hi,

I don’t understand how changing bIsGameWon to true ends the game, I can’t find where this all links.They always say code is harder to read than to write and I’m struggling to read up where changing bool bIsGameWon to true breaks to the PlayAgain method and asks if you want to play again.

Privacy & Terms