generated from freudenreichan/info2Praktikum-Wortsalat
main updated
This commit is contained in:
parent
b427e8e547
commit
e551a025be
@ -40,6 +40,14 @@ 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,750);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Error. The words couldn't be placed.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user