From d0d2c7624abae880a8bdbad5d4846fe50f6a1cba Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 22:57:07 +0100 Subject: [PATCH] Int game if Fortsetzung6 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 c2c8066..d3b8aad 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -16,4 +16,6 @@ int game(char you, char computer) else if (you == '3' && computer == '2') return 1; if (you == '2' && computer == '1') return 1; + else if (you == '1' && computer == '2') + return 0; } \ No newline at end of file