Mein Commit-Kommentar

This commit is contained in:
Wehner 2025-10-20 12:06:44 +02:00
parent 605ef0fdeb
commit b62c454e23

View File

@ -41,6 +41,24 @@ int main(int argc, char *argv[])
// Start the game if successful
// error message if some words couldn't be placed
if (placedWords == wordCount)
{
// Start the game
unsigned int windowSize = 900; //FRAGE: Programm so programmieren, dass man das weglassen kann
startGame(wordSalad, SALAD_SIZE, words, wordCount, windowSize);
}
else
{
// Error message if some words couldn't be placed
fprintf(stderr, "Error: Only %u out of %u words could be placed in the word salad.\n", placedWords, wordCount);
exitCode = EXIT_FAILURE;
}
}
else
{