diff --git a/Start_Windows/game.c b/Start_Windows/game.c index 2ad0b9f..2005cbc 100644 --- a/Start_Windows/game.c +++ b/Start_Windows/game.c @@ -10,7 +10,7 @@ /* * Wörter aus der Wortliste zufällig horizontal oder vertikal platzieren * restliche Felder mit zufälligen Buchstaben füllen */ - /********************************************************************************************** + // Platziert Wörter aus der Liste zufällig horizontal oder vertikal void createWordSalad(char grid[20][20], const char words[][50], int wordCount) { @@ -37,7 +37,7 @@ void fillEmptySpaces(char grid[20][20]) { grid[i][j] = 'A' + rand() % 26; } -************************************************************************************************************/ + // 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)