From 5294b98467244f5965070ffa64e003ec676e70df Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Fri, 9 Feb 2024 00:37:17 +0100 Subject: [PATCH] refactoring: von Modus1 zu PVC --- src/main/c/SchereSteinPapier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/c/SchereSteinPapier.c b/src/main/c/SchereSteinPapier.c index b2b3bb9..bcfbb3f 100644 --- a/src/main/c/SchereSteinPapier.c +++ b/src/main/c/SchereSteinPapier.c @@ -24,7 +24,7 @@ int game(char you, char computer) return 1; } -int Modus1() { +int PVC() { int Stand1 = 0, Stand2 = 0; char ende[10] = "Weiter"; int n; @@ -125,7 +125,7 @@ int Start() { printf("Spielmodus waehlen:\n[1] Computer\n[2] 2 Spieler\n"); scanf("%d", &Frage); switch (Frage) { - case 1: Modus1(); break; + case 1: PVC(); break; case 2: Modus2(); break; default: Start(); }