main updated

This commit is contained in:
maxgrf 2025-11-10 12:39:33 +01:00
parent b427e8e547
commit e551a025be
2 changed files with 9 additions and 1 deletions

View File

@ -40,7 +40,15 @@ int main(int argc, char *argv[])
// Check if all words were successfully placed // Check if all words were successfully placed
// Start the game if successful // Start the game if successful
// error message if some words couldn't be placed // error message if some words couldn't be placed
if (placedWords == wordCount){
startGame(wordSalad,SALAD_SIZE,words, wordCount,750);
}
else
{
printf("Error. The words couldn't be placed.\n");
return -1;
}
} }
else else
{ {

Binary file not shown.