diff --git a/src/main/c/Hangman/drawHangman.h b/src/main/c/Hangman/drawHangman.h index 2c31273..2c1256d 100644 --- a/src/main/c/Hangman/drawHangman.h +++ b/src/main/c/Hangman/drawHangman.h @@ -3,4 +3,7 @@ #include +void drawHangman(int incorrectGuesses); +void currentState(char *currentGuess, int mistakes); + #endif //PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H diff --git a/src/main/c/Hangman/initializeHangman.h b/src/main/c/Hangman/initializeHangman.h index 58f5700..a7159d1 100644 --- a/src/main/c/Hangman/initializeHangman.h +++ b/src/main/c/Hangman/initializeHangman.h @@ -3,4 +3,9 @@ #include #include #include + +void initializeHangman(char *wordToGuess, char *currentGuess); +void printRules(); +void displayRules(); + #endif //PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h index b516283..4adc2ce 100644 --- a/src/main/c/Hangman/playHangman.h +++ b/src/main/c/Hangman/playHangman.h @@ -8,16 +8,10 @@ #include "drawHangman.h" #include "word_selector.h" +#define MAX_MISTAKES 6 + // Include function implementations directly from .c files void playHangman(); -void initializeHangman(char *wordToGuess, char *currentGuess); -void printRules(); -void drawHangman(int incorrectGuesses); -void currentState(char *currentGuess, int mistakes); -const char* selectRandomWord(); -const char wordsList_easy[NUM_WORDS][MAX_WORD_LENGTH + 1]; -void displayRules(); -#define MAX_MISTAKES 6 #endif // PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H