forked from freudenreichan/info2Praktikum-Wortsalat
gametest file entfernt
This commit is contained in:
1 parent
f8deef43e1
commit
e2df312438
1 file changed
-33
@@ -1,33 +0,0 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "graphicalGame.h"
|
||||
#include "game.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN];
|
||||
|
||||
char words[][MAX_WORD_LEN] = {
|
||||
"HALLO",
|
||||
"WELT",
|
||||
"AUTO",
|
||||
"BIRNE",
|
||||
"APFEL",
|
||||
"BANANE",
|
||||
"LANGESWORT",
|
||||
"REITSPORT",
|
||||
"APFELBAUM",
|
||||
"DRACULA",
|
||||
"LAPTOP",
|
||||
"BILDSCHRIM",
|
||||
"HAUS"
|
||||
};
|
||||
|
||||
unsigned int wordCount = sizeof(words) / sizeof(words[0]);
|
||||
|
||||
int placedWords = createWordSalad(salad, MAX_SEARCH_FIELD_LEN, words, wordCount);
|
||||
startGame(salad, MAX_SEARCH_FIELD_LEN, words, wordCount, 1000);
|
||||
printf("Placed words: %d\n", placedWords);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user