diff --git a/Start_Windows/main.c b/Start_Windows/main.c index 03da755..52058d7 100644 --- a/Start_Windows/main.c +++ b/Start_Windows/main.c @@ -40,7 +40,15 @@ 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 == wordCount){ + startGame(wordSalad,SALAD_SIZE,words, wordCount,750); + } + else + { + printf("Error. The words couldn't be placed.\n"); + return -1; + } + } else { diff --git a/Start_Windows/runTests2.exe b/Start_Windows/runTests2.exe index 0990a5e..4a15f3b 100644 Binary files a/Start_Windows/runTests2.exe and b/Start_Windows/runTests2.exe differ