From 6a97d85794bbea20273c515764f3147834ee9537 Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:21:44 +0100 Subject: [PATCH] Int game if Fortsetzung3 C wins --- src/main/c/SchereSteinPapier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index 29a1f29..482adb4 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -11,4 +11,6 @@ int game(char you, char computer) return -1; if (you == '3' && computer == '3') return -1; + if (you == '2' && computer == '3') + return 0; } \ No newline at end of file