Startet Game oder gibt Fehlermeldung

This commit is contained in:
Björn 2025-10-26 15:45:09 +01:00
parent b1d7cbc74b
commit 288693c76f

View File

@ -59,8 +59,8 @@ int main(int argc, char *argv[])
// error message if some words couldn't be placed // error message if some words couldn't be placed
if(placedWords == wordCount) if(placedWords == wordCount)
{ {
// Start the graphical game with the created word salad // Start the game with the created word salad
startGraphicalGame(wordSalad, SALAD_SIZE, words, wordCount); startGame(wordSalad, SALAD_SIZE, words, wordCount, placedWords);
} }
else else
{ {