From dbe8afcac351b97919af57dbbf4a6a8dfacb9761 Mon Sep 17 00:00:00 2001 From: Simon Schuerer Date: Mon, 3 Nov 2025 14:18:04 +0000 Subject: [PATCH] Start_Windows/game.c aktualisiert --- Start_Windows/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)