removed printf

This commit is contained in:
gloecknerma103472 committed 2026-10-16 09:55:43 +02:00
1 parent e65025664a
commit 04a63ab64d
1 file changed
-6
-6
View File
@@ -6,11 +6,7 @@
#define MAX_RAND_TRIES_PER_WORD 10
#define EMPTY_CHAR 0
//TODO: Spiellogik implementieren:
/* * Wörter aus der Wortliste zufällig horizontal oder vertikal platzieren
* restliche Felder mit zufälligen Buchstaben füllen */
// 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)
//salad = Array das als Tabelle dient; searchFieldLEN = tatsächliche Länge des Spielfelds; words = Liste der möglichen Suchwörter; wordCount = Anzahl der Wörter in words
{
@@ -71,7 +67,6 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
}
}
//4. Eingabe der Wörter; (Wörter eintragen)
printf("Test\n");
if (!check)
{
for (unsigned int j = 0; j < wortlaenge; j++)
@@ -85,7 +80,6 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
salad[y_position + j][x_position] = words[i][j];
}
}
printf("Wort %d plaziert.\n", plaziert);
plaziert++;
break;
}