i helped write a program for my friend who's taking intro to c. it's been a while since i took the class.
the program right now works fine except for one tiny situation which we're stuck on.
in the program or "game," if the player makes 6 wrong guesses, then the game ends (takes the player to the menu). the problem i have is that i want to put a counter and increment it if 6 wrong guesses are made. and if the counter hits 6, then take the player to the menu. which, for the most part, i know how to do.
the main problem i have is that i don't know where to put that counter. i tried placing it everywhere and i've been working on it all day yesterday and i'm at my desperation point.