Compare commits
No commits in common. "288693c76fcfdb5662889d17f6bc286bc48f926b" and "207d93b31775c919d786d77e4c92d52371073f02" have entirely different histories.
288693c76f
...
207d93b317
@ -57,16 +57,6 @@ 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)
|
|
||||||
{
|
|
||||||
// Start the game with the created word salad
|
|
||||||
startGame(wordSalad, SALAD_SIZE, words, wordCount, placedWords);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
fprintf(stderr, "Could not place all words into the word salad. Placed %u out of %u words.\n", placedWords, wordCount);
|
|
||||||
exitCode = EXIT_FAILURE;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user