um Grafikversion erweitert

This commit is contained in:
Angelos committed 2026-10-20 19:47:21 +02:00
1 parent 1725da2148
commit d7c7fe76f3
1 file changed
+3 -2
+3 -2
View File
@@ -1,12 +1,13 @@
#include <stdio.h>
#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;