generated from freudenreichan/info2Praktikum-Wortsalat
final changes
This commit is contained in:
parent
9a1f2d1d8a
commit
4d09d52506
@ -31,7 +31,7 @@ int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsi
|
|||||||
int placed = 0;
|
int placed = 0;
|
||||||
|
|
||||||
if(wordLen > searchFieldLen){
|
if(wordLen > searchFieldLen){
|
||||||
printf("Word %s is too long!\n", words[w]);
|
//printf("Word %s is too long!\n", words[w]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//Try multiple times to find a valid position
|
//Try multiple times to find a valid position
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
#include "graphicalGame.h"
|
#include "graphicalGame.h"
|
||||||
|
|
||||||
#define MAX_NUMBER_OF_WORDS 100
|
#define MAX_NUMBER_OF_WORDS 100
|
||||||
#define SALAD_SIZE 10
|
#define SALAD_SIZE 20
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user