From 66208669575543921e67386e3a58f52bf2d0b0b5 Mon Sep 17 00:00:00 2001 From: fdai7172 Date: Wed, 8 Feb 2023 20:57:40 +0100 Subject: [PATCH] Verringert die Lebensanzahl --- src/Paper-Bin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index d746bbb..dd6556a 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -123,7 +123,7 @@ int main() { system("clear"); Generatefield(); - + int Ball_In_Bin = checkBallPosition(); switch (Ball_In_Bin) @@ -135,6 +135,8 @@ int main() break; case(2): ScorePoints -= 5; + lifeCount--; + }