From a25dd5b3f05cd45a1b142915dc9efd7f2d97dafc Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 11 Nov 2025 14:27:19 +0100 Subject: [PATCH] hui --- Start_Windows/game.c | 2 +- Start_Windows/input.c | 1 + Start_Windows/main.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Start_Windows/game.c b/Start_Windows/game.c index b1e3924..e6064aa 100644 --- a/Start_Windows/game.c +++ b/Start_Windows/game.c @@ -13,7 +13,7 @@ // Creates the word salad by placing words randomly and filling empty spaces int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount) { - //Wort für Wort durchgehen + //Wort für Wort dufrchgehen //int position = 0; srand(time(NULL)); diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 0afa76d..4fa81a7 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -22,6 +22,7 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) } } /*Alle Buchstaben zu Großbuchstaben umwandeln + *h for (int i = 0; i < anzahlWord; i++) { int laenge = strlen(words[i]); for (int j = 0; j < laenge; j++) diff --git a/Start_Windows/main.c b/Start_Windows/main.c index 17425d5..a012dd6 100644 --- a/Start_Windows/main.c +++ b/Start_Windows/main.c @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) if(placedWords == wordCount) { startGame(wordSalad, SALAD_SIZE, words, wordCount, 800); } - //showWordSalad(wordSalad, SALAD_SIZE); + //showWordSalad(wordSalad, SALAD_SIZE);ff else { // Print error message if file couldn't be opened