Some mistakes I made and their corrections

I made a few mistakes, but I was able to correct them via the video.

A few of them were:

  1. I placed bGameOver allover the place, where I only needed to go to EndGame where it is set to true.

  2. In the first if statement, I did not have to use “bGameOver == true”, only bGameOver for reasons that the instructor had mentioned.

  3. My biggest mistake: I called up SetupGame in the EndGame function, wondering why the game was immediately called up without waiting for the enter key to be hit…until I deleted it. My program’s behavior behaved properly after that.

1 Like

Privacy & Terms