Feat/input #1

Merged
binneran103617 merged 6 commits from feat/input into main 2026-10-29 21:15:06 +00:00
Showing only changes of commit 1a796d8144 - Show all commits
+17
View File
@@ -41,6 +41,23 @@ int main(int argc, char *argv[])
// Start the game if successful
// error message if some words couldn't be placed
if(wordCount > 19)
{
if(placedWords != 20)
{
exitCode = EXIT_FAILURE;
printf("Only %d of %d possible words could be placed\n", placedWords, 20);
}
}
else
{
if(placedWords != wordCount)
{
exitCode = EXIT_FAILURE;
printf("Only %d of %d possible words could be placed\n", placedWords, wordCount);
}
}
}
else
{