einfach nur kosmetische Änderungen
This commit is contained in:
parent
42739dc5cc
commit
36c61ff8e7
@ -31,7 +31,10 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Read words from file and store in 'words' array
|
// Read words from file and store in 'words' array
|
||||||
wordCount = readWords(file, words, MAX_NUMBER_OF_WORDS);
|
wordCount = readWords(file, words, MAX_NUMBER_OF_WORDS);
|
||||||
fclose(file); // TODO:
|
fclose(file);
|
||||||
|
|
||||||
|
|
||||||
|
// TODO:
|
||||||
// Check if all words were successfully placed
|
// Check if all words were successfully placed
|
||||||
// Start the game if successful
|
// Start the game if successful
|
||||||
// error message if some words couldn't be placed
|
// error message if some words couldn't be placed
|
||||||
@ -42,7 +45,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if(placedWords==wordCount)
|
if(placedWords==wordCount)
|
||||||
{
|
{
|
||||||
// Start the graphical game with the created word salad and the list of words
|
// Spiel starten, mit dem erstellten wordSalad, der Anzahl der Wörter und der Liste der Wörter
|
||||||
startGame(wordSalad, SALAD_SIZE, words, wordCount, 800);
|
startGame(wordSalad, SALAD_SIZE, words, wordCount, 800);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user