forked from freudenreichan/info2Praktikum-Wortsalat
Aufgabe 1 - makefile angepasst / main.c TODOs erledigt
This commit is contained in:
1 parent
93db739464
commit
9d57dbffdd
2 files changed
+15
-1
No files matched your search
+9
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user