From 836f068e1f01282314044d015c770cef952cc79f Mon Sep 17 00:00:00 2001 From: Celine Khazarian Date: Thu, 8 Feb 2024 23:56:49 +0100 Subject: [PATCH] refactoring: 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 265cbea..2663f90 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 S() { 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: main(); }