diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..e0035c9 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 3bcb602..e5a48ee 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 4eb5881..f60c909 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -24,3 +24,12 @@ 0 32 1707225688396107422 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 0 28 1707225694194160949 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 28 61 1707225694227136765 pmuw_projekt_notebinder a5668107eb06d295 +1 238 1707234355675849564 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +1 238 1707234355675849856 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 29 1707234367628021438 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 32 1707234430533256320 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 40 1707234760744162121 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 40 1707234760744025123 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +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 diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o index 2a5eeb6..55a7cec 100644 Binary files a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o and b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o differ diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index bf59ee4..132f697 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 14:23 CET +Start testing: Feb 06 17:23 CET ---------------------------------------------------------- -End testing: Feb 06 14:23 CET +End testing: Feb 06 17:23 CET diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h index aad634c..8178eb2 100644 --- a/src/main/c/Hangman/playHangman.h +++ b/src/main/c/Hangman/playHangman.h @@ -9,6 +9,8 @@ #include "word_selector.h" // Include function implementations directly from .c files + +void playHangman(char *wordToGuess); void initializeHangman(char *wordToGuess, char *currentGuess); void printRules(); void drawHangman(int incorrectGuesses); diff --git a/src/main/c/main.c b/src/main/c/main.c index 2a8a9b3..f32de94 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -28,7 +28,7 @@ int main(){ switch (option){ case 1: - //start_game1(); + playHangman(selectRandomWord()); break; case 2: //start_game2();