From fa15309073e88817e7db3f9c4687fca5719b336b Mon Sep 17 00:00:00 2001 From: Peter Wiebe Date: Tue, 6 Feb 2024 18:50:31 +0100 Subject: [PATCH] Commit 29 - level_plus in Hauptspiel einbauen --- src/main/c/hangman.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/c/hangman.c b/src/main/c/hangman.c index 333cc1c..e356748 100644 --- a/src/main/c/hangman.c +++ b/src/main/c/hangman.c @@ -190,6 +190,9 @@ void hauptSpiel(int level){ } won = has_won(secret_word, guessed_letters); } + if (won == 1){ + level_plus(); + } } void draw_hangman(int attempts) {