TODOS bei main

.gitignore verbessert
makefile vervollständigt
This commit is contained in:
kayaoglura103830 committed 2026-10-26 13:48:53 +01:00
1 parent 93db739464
commit c93dd9a734
3 files changed
+21 -4

No files matched your search

+12 -3
View File
@@ -38,9 +38,18 @@ int main(int argc, char *argv[])
// TODO:
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if (placedWords == wordCount)
{
// Start the game if successful
startGame(wordSalad, SALAD_SIZE, words, wordCount, 600);
}
else
{
// error message if some words couldn't be placed
fprintf(stderr, "Fehler. Es konnten nicht alle Wörter Platziert werden.");
exitCode = EXIT_FAILURE;
}
}
else
{