forked from freudenreichan/info2Praktikum-Wortsalat
Spielinitialiserung in main.c
This commit is contained in:
1 parent
df82424793
commit
683b1cdf7e
1 file changed
+2
-2
+2
-2
@@ -37,10 +37,10 @@ int main(int argc, char *argv[])
|
|||||||
placedWords = createWordSalad(wordSalad, SALAD_SIZE, words, wordCount);
|
placedWords = createWordSalad(wordSalad, SALAD_SIZE, words, wordCount);
|
||||||
|
|
||||||
if(placedWords==wordCount){ //checked if all words were succesfully placed
|
if(placedWords==wordCount){ //checked if all words were succesfully placed
|
||||||
startGame(wordSalad; SALAD_SIZE; words; wordCount; 1000); // Starting the game
|
startGame(wordSalad, SALAD_SIZE, words, wordCount, 1000); // Starting the game
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
printf("Fehler! Es konnten nicht alle Wörter plaziert werden"); //Error if some words couldnt be placed
|
printf("Fehler! Es konnten nicht alle Wörter plaziert werden\n"); //Error if some words couldnt be placed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user