Start_Windows/game.c aktualisiert

This commit is contained in:
Simon Schuerer 2025-11-03 14:18:04 +00:00
parent ad9bd08c0d
commit dbe8afcac3

View File

@ -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)