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