From 10a40bce76ab2b32aa1e82e0fa00d136ece41898 Mon Sep 17 00:00:00 2001 From: Simon May Date: Tue, 21 Oct 2025 14:31:57 +0200 Subject: [PATCH] startgame edit --- .gitignore | 3 +++ Start_Windows/main.c | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..68aa4e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +Start_Windows/main.o +Start_Windows/graphicalGame.o +Start_Windows/wordsalad_myversion.exe diff --git a/Start_Windows/main.c b/Start_Windows/main.c index 679051a..6679869 100644 --- a/Start_Windows/main.c +++ b/Start_Windows/main.c @@ -4,8 +4,6 @@ #include "game.h" #include "graphicalGame.h" -#include "raylib.h" - #define MAX_NUMBER_OF_WORDS 100 #define SALAD_SIZE 20 @@ -45,7 +43,7 @@ int main(int argc, char *argv[]) if(placedWords == wordCount) { printf("All words placed successfully (%u / %u).\n", placedWords, wordCount); - startGame( wordSalad, MAX_SEARCH_FIELD_LEN, words, wordCount, GetScreenWidth()); + startGame(wordSalad, SALAD_SIZE, words, wordCount, 800); } else {