Compare commits

..

No commits in common. "1b4d5e1e0b2bfa153ce99b4755e01320c390e680" and "55e912ccf3dea0fc076360921dcd67c06de305df" have entirely different histories.

View File

@ -38,24 +38,9 @@ int main(int argc, char *argv[])
// TODO: // TODO:
// Check if all words were successfully placed // Check if all words were successfully placed
if(wordCount == placedWords)
{
exitCode = EXIT_SUCCESS;
}
else
{
exitCode = EXIT_FAILIURE;
}
// Start the game if successful // Start the game if successful
if(exitCode == EXIT_SUCCESS)
{
void startGame(const char wordSalad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldSize, char words[][MAX_WORD_LEN], unsigned int numberOfWords, unsigned int windowWidth);
}
// error message if some words couldn't be placed // error message if some words couldn't be placed
else if(exitCode == EXIT_FAILURE)
{
printf("Bei der Platzierung ist etwas falsch gelaufen!");
}
} }
else else
{ {