updated files in StartMac

This commit is contained in:
2025-10-21 15:00:57 +02:00
parent 2579dede52
commit c745cdd148
6 changed files with 44 additions and 27 deletions
+7 -12
View File
@@ -39,19 +39,14 @@ int main(int argc, char *argv[])
// TODO:
// Check if all words were successfully placed
if(placedWords == wordCount)
{
printf("Eingabe war erfolgreich!\nDas Spiel beginnt:");
void startGame(wordSalad[][], searchFieldSize, words[][], numberOfWords, windowSize)
}
{
printf("Eingabe war erfolgreich!\nDas Spiel beginnt:");
void startGame(wordSalad, searchFieldSize, words, numberOfWords, windowSize);
}
else
{
printf("Fehler! Es konnten nicht alle Woerter hinzugefuegt werden!\n Bitte Spiel neustarten!");
}
// Start the game if successful
// error message if some words couldn't be placed
{
printf("Fehler! Es konnten nicht alle Woerter hinzugefuegt werden!\n Bitte Spiel neustarten!");
}
}
else
{