generated from freudenreichan/info2Praktikum-Wortsalat
finale version 2
This commit is contained in:
parent
5ba959d73b
commit
26c403ebf7
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user