This commit is contained in:
maxgrf 2025-11-07 17:45:25 +01:00
parent c4b0ef5427
commit 673eae7d17
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#include <time.h> #include <time.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> //#include <ctype.h>
#define MAX_RAND_TRIES_PER_WORD 10 #define MAX_RAND_TRIES_PER_WORD 10
@ -105,7 +105,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
} }
} }
} }
/*
// fügt zufällige Buchstaben ein // fügt zufällige Buchstaben ein
for(int l = 0; l < searchFieldLen; l++){ for(int l = 0; l < searchFieldLen; l++){
for(int m = 0; m < searchFieldLen; m++ ){ for(int m = 0; m < searchFieldLen; m++ ){
@ -122,6 +122,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
} }
return placedWords; //platzierte Wörter zurückgeben return placedWords; //platzierte Wörter zurückgeben
*/
} }
// Prints the word salad to console // Prints the word salad to console

Binary file not shown.