diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index e5a48ee..44b6d3e 100644 Binary files a/cmake-build-debug/.ninja_deps and b/cmake-build-debug/.ninja_deps differ diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index f60c909..a7916c1 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -33,3 +33,5 @@ 0 44 1707236593330321687 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 0 45 1707236593331008028 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 45 72 1707236593357601081 pmuw_projekt_notebinder a5668107eb06d295 +0 44 1707250874478682419 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +44 70 1707250874504270369 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 132f697..88632bd 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 06 17:23 CET +Start testing: Feb 06 21:21 CET ---------------------------------------------------------- -End testing: Feb 06 17:23 CET +End testing: Feb 06 21:21 CET diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index e55ee12..9923dab 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -70,14 +70,6 @@ void playHangman(char *wordToGuess) { } - // Check if the guess is a single letter - if (strlen(&guess) != 1) { - printf("Please enter only one letter.\n"); - ignoreExtraInput(); - continue; - } - - // Check if the letter has already been guessed by the player if (strchr(guessedLetters, guess) != NULL) { printf("You already guessed that letter. Try another letter.\n");