Aufgabe 1 - makefile angepasst / main.c TODOs erledigt

This commit is contained in:
goettschejo103396 committed 2026-10-11 21:16:57 +02:00
1 parent 93db739464
commit 9d57dbffdd
2 files changed
+15 -1

No files matched your search

+9 -1
View File
@@ -40,7 +40,15 @@ int main(int argc, char *argv[])
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if(placedWords == wordCount)
{
startGame(wordSalad, SALAD_SIZE, words, wordCount, 800);
}
else
{
fprintf(stderr, "Could not place all words (%u of %u placed) ...\n", placedWords, wordCount);
exitCode = EXIT_FAILURE;
}
}
else
{