diff --git a/.idea/editor.xml b/.idea/editor.xml
index 963c96f..ead1d8a 100644
--- a/.idea/editor.xml
+++ b/.idea/editor.xml
@@ -244,101 +244,5 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Start_Mac/input.o b/Start_Mac/input.o
index dd50b61..b88cddd 100644
Binary files a/Start_Mac/input.o and b/Start_Mac/input.o differ
diff --git a/Start_Mac/main.c b/Start_Mac/main.c
index 3ab43a0..1b15b7f 100644
--- a/Start_Mac/main.c
+++ b/Start_Mac/main.c
@@ -41,17 +41,17 @@ int main(int argc, char *argv[])
// Start the game if successful
// error message if some words couldn't be placed
- if (placedWords == wordCount)
+ if (placedWords == wordCount) //überprüfung: alle wörter im gitter
{
printf("All words have been placed successfully.\n");
- // Start graphical game
- startGame(wordSalad, SALAD_SIZE, words, wordCount, 800);
+
+ startGame(wordSalad, SALAD_SIZE, words, wordCount, 800); //header datei wird ausgeführt
}
else
{
- fprintf(stderr, "Error: Only %u out of %u words could be placed.\n", placedWords, wordCount);
- fprintf(stderr, "Try reducing the number or length of words.\n");
- exitCode = EXIT_FAILURE;
+ fprintf(stderr, "Error: Only %u out of %u words could be placed.\n", placedWords, wordCount); //fprintf in selbst gewählter ausgabe
+ fprintf(stderr, "Try reducing the number or length of words.\n"); // std err = error
+ exitCode = EXIT_FAILURE; //exit_failure von der stdlib eine funktion => fehler beim ausführen; wert = 1
}
diff --git a/Start_Mac/runTests b/Start_Mac/runTests
index cc7d24f..c239259 100755
Binary files a/Start_Mac/runTests and b/Start_Mac/runTests differ