From d7c7fe76f3997ebd8df21b30de506bf5ddba2ad8 Mon Sep 17 00:00:00 2001 From: Angelos Date: Tue, 20 Oct 2026 19:47:21 +0200 Subject: [PATCH] um Grafikversion erweitert --- Startcode/gametest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Startcode/gametest.c b/Startcode/gametest.c index 77d35bd..37e72d4 100644 --- a/Startcode/gametest.c +++ b/Startcode/gametest.c @@ -1,12 +1,13 @@ #include +#include "graphicalGame.h" #include "game.h" int main(void) { char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN]; - const char words[][MAX_WORD_LEN] = { + char words[][MAX_WORD_LEN] = { "HALLO", "WELT", "AUTO", @@ -25,7 +26,7 @@ int main(void) unsigned int wordCount = sizeof(words) / sizeof(words[0]); int placedWords = createWordSalad(salad, MAX_SEARCH_FIELD_LEN, words, wordCount); - + startGame(salad, MAX_SEARCH_FIELD_LEN, words, wordCount, 1000); printf("Placed words: %d\n", placedWords); return 0;