finale version 2

This commit is contained in:
Ben Skuppin 2025-11-06 14:16:55 +01:00
parent 5ba959d73b
commit 26c403ebf7
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define MAX_RAND_TRIES_PER_WORD 10 #define MAX_RAND_TRIES_PER_WORD 20
#define EMPTY_CHAR 0 #define EMPTY_CHAR 0
//TODO: Spiellogik implementieren: //TODO: Spiellogik implementieren:

View File

@ -40,7 +40,8 @@ int main(int argc, char *argv[])
startGame(wordSalad,SALAD_SIZE,words,wordCount,1000); startGame(wordSalad,SALAD_SIZE,words,wordCount,1000);
}else { }else {
printf("fehler"); printf("Es konnten nur %d Woerter plaziert werden.\n", placedWords);
printf("-> Programm abgebrochen!!!");
} }
// TODO: // TODO: