edit our own version

This commit is contained in:
Tobias Busch 2025-10-28 18:50:50 +01:00
parent 39d4683762
commit 63f2f9c77e
2 changed files with 15 additions and 2 deletions

View File

@ -38,8 +38,14 @@ int main(int argc, char *argv[])
// TODO:
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if (placedWords == wordCount) {
// Start the game if successful
showWordSalad(wordSalad, SALAD_SIZE);
} else {
// error message if some words couldn't be placed
printf("Some words could not be placed");
exitCode = EXIT_FAILURE;
}
}
else

View File

@ -13,6 +13,13 @@ unityfolder = ./unity
wordsalad_initial:
$(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
# --------------------------