forked from freudenreichan/info2Praktikum-Wortsalat
Game.c gebaut, noch nicht getestet
This commit is contained in:
1 parent
73bff4d186
commit
f57595b4fc
1 file changed
-17
@@ -1,17 +0,0 @@
|
|||||||
#include "game.h"
|
|
||||||
#include <time.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define MAX_RAND_TRIES_PER_WORD 10
|
|
||||||
#define EMPTY_CHAR 0
|
|
||||||
|
|
||||||
//TODO: Spiellogik implementieren:
|
|
||||||
/* * Wörter aus der Wortliste zufällig horizontal oder vertikal platzieren
|
|
||||||
* restliche Felder mit zufälligen Buchstaben füllen */
|
|
||||||
|
|
||||||
// Creates the word salad by placing words randomly and filling empty spaces
|
|
||||||
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int searchFieldLen, const char words[][MAX_WORD_LEN], unsigned int wordCount)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user