From 39bec1ede5d8e59b0bbdaff1e61f74fb21cd0538 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 29 Oct 2026 14:14:39 +0100 Subject: [PATCH] Spiel starten main --- Startcode/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Startcode/main.c b/Startcode/main.c index 03da755..87e4360 100644 --- a/Startcode/main.c +++ b/Startcode/main.c @@ -41,6 +41,14 @@ int main(int argc, char *argv[]) // Start the game if successful // error message if some words couldn't be placed + if(placedWords==wordCount){ + //start game + void startGame(wordSalad, SALAD_SIZE, words, placedWords, windowSize) + } + else{ + printf("Error! Words coundn't be placed..."); + } + } else {