tabs geslöscht

This commit is contained in:
KohlerMaxi committed 2026-10-29 14:40:17 +01:00
1 parent d9ac9f27e1
commit 327332b4a2
1 file changed
+4 -4
+4 -4
View File
@@ -11,7 +11,7 @@
int checkSalad(char words[][MAX_WORD_LEN], char wordSalad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], int placedWords, int wordCount){
//Iteriere über alle verfügbaren Wörter
int foundWords = 0;
//suche horizontal
for(int i = 0; i < wordCount; i++){
for(int h = 0; h < MAX_SEARCH_FIELD_LEN; h++){
@@ -39,7 +39,7 @@ int checkSalad(char words[][MAX_WORD_LEN], char wordSalad[MAX_SEARCH_FIELD_LEN][
}
}
}
if(foundWords == placedWords) return 0;
return -1;
}
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
exitCode = EXIT_FAILURE;
}
//keine Ahnung wiegroß pixelSize sein soll
startGame(wordSalad, MAX_SEARCH_FIELD_LEN, words, placedWords, MAX_SEARCH_FIELD_LEN * SALAD_SIZE);
startGame(wordSalad, MAX_SEARCH_FIELD_LEN, words, placedWords,SALAD_SIZE * SALAD_SIZE);
}
else
{
@@ -96,4 +96,4 @@ int main(int argc, char *argv[])
}
return exitCode;
}
}