diff --git a/src/main/c/hangman.c b/src/main/c/hangman.c index 037c170..d1f72c3 100644 --- a/src/main/c/hangman.c +++ b/src/main/c/hangman.c @@ -191,6 +191,9 @@ void hauptSpiel(int level){ } won = has_won(secret_word, guessed_letters); } + if (won == 1){ + level_plus(); + } } void draw_hangman(int attempts) {