From ea14dbbcfc0495c1782597bf135af4aa57ef1b37 Mon Sep 17 00:00:00 2001 From: fonkou Date: Tue, 11 Nov 2025 16:08:17 +0100 Subject: [PATCH] the main file is done --- Start_Windows/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Start_Windows/main.c b/Start_Windows/main.c index 03da755..136a146 100644 --- a/Start_Windows/main.c +++ b/Start_Windows/main.c @@ -40,7 +40,9 @@ 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 (!placedWords) { + return -1; + } } else {