My Loop(Not Sure about Bonus)

Can Also tidy up main more by putting the for loop into a function and Tries Variable in there aswell

1 Like

Did you use “Tries” for your word length and your guess limit?
Seems smarter to tie them together but I’m completely new and was assuming the teacher was going to do that later or talk about it.

Tries was my Guess Limit yes as for word length that is in my start game function. I t would only be beneficial to make them the same if you wanted the guess limit the same as word length I believe.

my for loop prob pretty basic

Interesting idea, putting your constexpr in the header I hadn’t thought of that! This really highlights that we’re using a magic number. :smiley:

1 Like

Privacy & Terms