startgame edit

This commit is contained in:
Simon May 2025-10-21 14:31:57 +02:00
parent f350608626
commit 10a40bce76
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
Start_Windows/main.o
Start_Windows/graphicalGame.o
Start_Windows/wordsalad_myversion.exe

View File

@ -4,8 +4,6 @@
#include "game.h" #include "game.h"
#include "graphicalGame.h" #include "graphicalGame.h"
#include "raylib.h"
#define MAX_NUMBER_OF_WORDS 100 #define MAX_NUMBER_OF_WORDS 100
#define SALAD_SIZE 20 #define SALAD_SIZE 20
@ -45,7 +43,7 @@ int main(int argc, char *argv[])
if(placedWords == wordCount) if(placedWords == wordCount)
{ {
printf("All words placed successfully (%u / %u).\n", 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 else
{ {