generated from freudenreichan/info2Praktikum-Wortsalat
moin
This commit is contained in:
1 parent
0fbfc98c85
commit
62bd5aedde
5 files changed
+16
No files matched your search
Binary file not shown.
@@ -38,8 +38,15 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// Check if all words were successfully placed
|
// Check if all words were successfully placed
|
||||||
|
if (placedWords == wordCount) {
|
||||||
// Start the game if successful
|
// Start the game if successful
|
||||||
|
showWordSalad(wordSalad, SALAD_SIZE);
|
||||||
|
} else {
|
||||||
// error message if some words couldn't be placed
|
// error message if some words couldn't be placed
|
||||||
|
printf("Some words could not be placed");
|
||||||
|
exitCode = EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Binary file not shown.
@@ -12,6 +12,15 @@ unityfolder = ./unity
|
|||||||
wordsalad_initial:
|
wordsalad_initial:
|
||||||
$(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
$(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||||
|
|
||||||
|
|
||||||
|
# --------------------------
|
||||||
|
# Eigenes Spiel bauen
|
||||||
|
# --------------------------
|
||||||
|
|
||||||
|
wordsalad_my: main.o graphicalGame.o $(BINARIES)/libraylib.a
|
||||||
|
$(CC) $(CFLAGS) -o wordsalad_my main.o graphicalGame.o $(BINARIES)/libwordsalad.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||||
|
|
||||||
|
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Normales Spiel bauen
|
# Normales Spiel bauen
|
||||||
# --------------------------
|
# --------------------------
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user