Feat/game #2

Merged
binneran103617 merged 3 commits from feat/game into main 2026-10-30 08:50:05 +00:00
Showing only changes of commit ab3d269759 - Show all commits
+2 -2
View File
@@ -41,9 +41,9 @@ int main(int argc, char *argv[])
// Start the game if successful
// error message if some words couldn't be placed
if(wordCount > 19)
if(wordCount >= SALAD_SIZE)
{
if(placedWords != 20)
if(placedWords != SALAD_SIZE)
{
exitCode = EXIT_FAILURE;
printf("Only %d of %d possible words could be placed\n", placedWords, 20);