Browse Source

update mistakes

remotes/origin/Saba
Saba Fazlali 11 months ago
parent
commit
f2fbc269bb
  1. 6
      src/main/c/Hangman/playHangman.c

6
src/main/c/Hangman/playHangman.c

@ -41,5 +41,11 @@ void playHangman(char *wordToGuess) {
}
}
// Update mistakes (if the guess is wrong)
if(!found){
mistakes++;
}
}
}
Loading…
Cancel
Save