|
@ -8,16 +8,10 @@ |
|
|
#include "drawHangman.h" |
|
|
#include "drawHangman.h" |
|
|
#include "word_selector.h" |
|
|
#include "word_selector.h" |
|
|
|
|
|
|
|
|
|
|
|
#define MAX_MISTAKES 6 |
|
|
|
|
|
|
|
|
// Include function implementations directly from .c files |
|
|
// Include function implementations directly from .c files |
|
|
|
|
|
|
|
|
void playHangman(); |
|
|
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 |
|
|
#endif // PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H |