From 2078df192a01a2fd10ed953b817b19fa6a72d5dd Mon Sep 17 00:00:00 2001
From: Celine Khazarian <Celine.Khazarian@informatik.hs-fulda.de>
Date: Thu, 8 Feb 2024 23:32:02 +0100
Subject: [PATCH] Int Modus 2 Mensch 2 Zahl waehlen

---
 src/main/c/SchereSteinPapier.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c
index 54256e1..8a1456a 100644
--- a/src/main/c/SchereSteinPapier.c
+++ b/src/main/c/SchereSteinPapier.c
@@ -94,4 +94,8 @@ int Modus2() {
 #else
 	system("clear");
 #endif
+	while (wahl2 != '3' && wahl2 != '1' && wahl2 != '2') {
+		printf("\n\t\t\t\t%s, waehlen Sie 1 fuer Schere, 2 fuer Stein oder 3 fuer Papier: ", Mensch2);
+		scanf(" %c", &wahl2);
+	}
 }
\ No newline at end of file