if verbessert

This commit is contained in:
Rebekka Haemmerl 2025-11-05 14:57:48 +01:00
parent 94094ad001
commit 177026d45f

View File

@ -37,7 +37,7 @@ int main(int argc, char *argv[])
placedWords = createWordSalad(wordSalad, SALAD_SIZE, words, wordCount);
// Check if all words were successfully placed
if (placedWords == wordCount)
if (placedWords =! 0)
{
// Start the game if successful
startGame(wordSalad, SALAD_SIZE, words, wordCount,800);