|
|
@ -149,11 +149,11 @@ char* getWordFromList(int x) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bool wordGuessed(char x[], char y[]) |
|
|
|
bool wordGuessed(char guessWord[], char displayWord[]) |
|
|
|
{ |
|
|
|
if(strcmp(x,y) == 0) |
|
|
|
if(strcmp(guessWord, displayWord) == 0) |
|
|
|
{ |
|
|
|
printf("Du hast gewonnen!\nDas gesuchte Wort war \"%s\"\n\n",x); |
|
|
|
printf("Du hast gewonnen!\nDas gesuchte Wort war \"%s\"\n\n",guessWord); |
|
|
|
return true; |
|
|
|
} |
|
|
|
else |
|
|
|