Template
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2de180513e | ||
|
|
5832baf300 |
+10
-1
@@ -40,7 +40,13 @@ 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)
|
||||
{
|
||||
printf("Error: Some words couldn't be placed!");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
startGame(wordSalad, SALAD_SIZE, words, wordCount, 500);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -51,4 +57,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
return exitCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hallii halloo probee
|
||||
Reference in new issue
Block a user