Compare commits

...
3 Commits
Author SHA1 Message Date
Giorgi Kesidis 6f3446fa8d 21.10 2025-10-22 00:21:17 +02:00
Giorgi Kesidis db1e31f237 21.10 2025-10-21 15:29:47 +02:00
Giorgi Kesidis a9d6d69bc1 hallo 2025-10-14 15:09:42 +02:00
5 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
// Creates the word salad by placing words randomly and filling empty spaces
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount)
{
Printf("Hello World+1");
}
// Prints the word salad to console
Binary file not shown.
+8 -1
View File
@@ -40,7 +40,14 @@ int main(int argc, char *argv[])
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if (wordCount != placedWords)
{
fprintf(stderr, "Error: %u out of %u were placed\n", placedWords, wordCount);
}
else
{
startGame(wordSalad, SALAD_SIZE, words, placedWords, 800);
}
}
else
{
+3 -4
View File
@@ -1,9 +1,9 @@
CC = gcc
CFLAGS = -g -Wall -I$(raylibfolder)
CFLAGS = -g -Wall
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
BINARIES = ./windows
raylib_folder = ./raylib
raylibfolder = ./raylib
unityfolder = ./unity
# --------------------------
@@ -12,7 +12,6 @@ unityfolder = ./unity
wordsalad_initial:
$(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
# --------------------------
# Normales Spiel bauen
# --------------------------
@@ -29,7 +28,7 @@ game.o: game.c
$(CC) -c $(CFLAGS) game.c
graphicalGame.o: graphicalGame.c
$(CC) -I$(raylib_folder) -c $(CFLAGS) graphicalGame.c
$(CC) -I$(raylibfolder) -c $(CFLAGS) graphicalGame.c
# --------------------------
# Unit Tests
Binary file not shown.