|
@ -6,7 +6,7 @@ |
|
|
#include <stdbool.h> |
|
|
#include <stdbool.h> |
|
|
#include <ctype.h> |
|
|
#include <ctype.h> |
|
|
|
|
|
|
|
|
#define LISTSIZE 10 |
|
|
|
|
|
|
|
|
#define LISTSIZE 30 |
|
|
#define MAX_WORD_LENGTH 30 |
|
|
#define MAX_WORD_LENGTH 30 |
|
|
#define STAGENUM 7 |
|
|
#define STAGENUM 7 |
|
|
#define ASCII_ART_SIZE 1000 |
|
|
#define ASCII_ART_SIZE 1000 |
|
@ -15,8 +15,13 @@ |
|
|
|
|
|
|
|
|
char wordlist[LISTSIZE][MAX_WORD_LENGTH] = { |
|
|
char wordlist[LISTSIZE][MAX_WORD_LENGTH] = { |
|
|
"Kartoffel", "Zigarette", "Haus", "Fenster", "Kartenleseettiketiergeraet", |
|
|
"Kartoffel", "Zigarette", "Haus", "Fenster", "Kartenleseettiketiergeraet", |
|
|
"Kleiderschrank", "Schnee","Wasserhahn", |
|
|
|
|
|
"Fernbedienung", "Computertastatur" |
|
|
|
|
|
|
|
|
"Kleiderschrank", "Schnee","Wasserhahn","Fernbedienung", |
|
|
|
|
|
"Computertastatur", "Verlies","Zucchini","lizenzieren", |
|
|
|
|
|
"Portemonnaie","brillant","Rückgrat","Toilettenpapier", |
|
|
|
|
|
"Dachpappe","Hund","Zwiebelsuppe","Zebra", |
|
|
|
|
|
"Kruzifix","Anschnallgurt","Bügeleisen","Fliesenleger", |
|
|
|
|
|
"Adventskranz","Weihnachtsbaum","Autoreifen","Waschbecken", |
|
|
|
|
|
"Busfahrkarte" |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
char hangmanStages[STAGENUM][ASCII_ART_SIZE]={ |
|
|
char hangmanStages[STAGENUM][ASCII_ART_SIZE]={ |
|
|