Browse Source

End message changed

remotes/origin/Saba
Saba Fazlali 11 months ago
parent
commit
298f84f7be
  1. BIN
      cmake-build-debug/.ninja_deps
  2. 6
      cmake-build-debug/.ninja_log
  3. BIN
      cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o
  4. 4
      cmake-build-debug/Testing/Temporary/LastTest.log
  5. 13
      src/main/c/Hangman/drawHangman.c
  6. 13
      src/main/c/Hangman/playHangman.c

BIN
cmake-build-debug/.ninja_deps

6
cmake-build-debug/.ninja_log

@ -24,3 +24,9 @@
209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295 209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295
0 192 1707267006006028181 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 0 192 1707267006006028181 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421
192 278 1707267006091837249 pmuw_projekt_notebinder a5668107eb06d295 192 278 1707267006091837249 pmuw_projekt_notebinder a5668107eb06d295
1 203 1707267786560704417 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6
204 289 1707267786646774332 pmuw_projekt_notebinder a5668107eb06d295
1 37 1707267864900519056 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6
38 63 1707267864925012751 pmuw_projekt_notebinder a5668107eb06d295
1 29 1707267958118485967 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7
29 55 1707267958144023054 pmuw_projekt_notebinder a5668107eb06d295

BIN
cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o

4
cmake-build-debug/Testing/Temporary/LastTest.log

@ -1,3 +1,3 @@
Start testing: Feb 07 01:50 CET
Start testing: Feb 07 02:05 CET
---------------------------------------------------------- ----------------------------------------------------------
End testing: Feb 07 01:50 CET
End testing: Feb 07 02:05 CET

13
src/main/c/Hangman/drawHangman.c

@ -74,14 +74,11 @@ void drawHangman(int incorrectGuesses) {
if (incorrectGuesses >= 6) { if (incorrectGuesses >= 6) {
printf("\n" printf("\n"
" _____ ____ \n"
" / ____| / __ \\ \n"
" | | __ __ _ _ __ ___ ___ | | | |_ _____ _ __ \n"
" | | |_ |/ _` | '_ ` _ \\ / _ \\ | | | \\ \\ / / _ \\ '__| \n"
" | |__| | (_| | | | | | | __/ | |__| |\\ V / __/ | \n"
" \\_____|\\__,_|_| |_| |_|\\___| \\____/ \\_/ \\___|_| \n"
" \n"
" \n");
" ___ ___ _ \n"
" / __|__ _ _ __ ___ / _ \\__ _____ _ _| |\n"
" | (_ / _` | ' \\/ -_) | (_) \\ V / -_) '_|_|\n"
" \\___\\__,_|_|_|_\\___| \\___/ \\_/\\___|_| (_)\n"
" \n");
} }
} }

13
src/main/c/Hangman/playHangman.c

@ -69,14 +69,11 @@ void playHangman(char *wordToGuess) {
currentState(currentGuess, mistakes); currentState(currentGuess, mistakes);
printf("Bravo! You guessed the word: %s \n", wordToGuess); printf("Bravo! You guessed the word: %s \n", wordToGuess);
printf("\n" printf("\n"
" __ __ _ _ _ _ \n"
" \\ \\ / / | | | | (_) | |\n"
" \\ \\_/ /__ _ _ __ _ _ __ ___ | |_| |__ ___ __ ___ _ __ _ __ ___ _ __| |\n"
" \\ / _ \\| | | | / _` | '__/ _ \\ | __| '_ \\ / _ \\ \\ \\ /\\ / / | '_ \\| '_ \\ / _ \\ '__| |\n"
" | | (_) | |_| | | (_| | | | __/ | |_| | | | __/ \\ V V /| | | | | | | | __/ | |_|\n"
" |_|\\___/ \\__,_| \\__,_|_| \\___| \\__|_| |_|\\___| \\_/\\_/ |_|_| |_|_| |_|\\___|_| (_)\n"
" \n"
" ");
" __ __ __ __ _ \n"
" \\ \\ / /__ _ _ \\ \\ / /__ _ _ | |\n"
" \\ V / _ \\ || | \\ \\/\\/ / _ \\ ' \\|_|\n"
" |_|\\___/\\_,_| \\_/\\_/\\___/_||_(_)\n"
" \n");
break; break;
} }

Loading…
Cancel
Save