added all main todo's
This commit is contained in:
parent
7c25208a58
commit
04eed79178
@ -40,6 +40,14 @@ int main(int argc, char *argv[])
|
|||||||
// 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
|
||||||
|
if(placedWords == wordCount)
|
||||||
|
{
|
||||||
|
startGame( wordSalad, MAX_SEARCH_FIELD_LEN, words, wordCount, GetScreenWidth());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("Could only place %u of %u words.\n", placedWords, wordCount);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user