|
@ -24,7 +24,7 @@ int game(char you, char computer) |
|
|
return 1; |
|
|
return 1; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int Modus1() { |
|
|
|
|
|
|
|
|
int PVC() { |
|
|
int Stand1 = 0, Stand2 = 0; |
|
|
int Stand1 = 0, Stand2 = 0; |
|
|
char ende[10] = "Weiter"; |
|
|
char ende[10] = "Weiter"; |
|
|
int n; |
|
|
int n; |
|
@ -125,7 +125,7 @@ int S() { |
|
|
printf("Spielmodus waehlen:\n[1] Computer\n[2] 2 Spieler\n"); |
|
|
printf("Spielmodus waehlen:\n[1] Computer\n[2] 2 Spieler\n"); |
|
|
scanf("%d", &Frage); |
|
|
scanf("%d", &Frage); |
|
|
switch (Frage) { |
|
|
switch (Frage) { |
|
|
case 1: Modus1(); break; |
|
|
|
|
|
|
|
|
case 1: PVC(); break; |
|
|
case 2: Modus2(); break; |
|
|
case 2: Modus2(); break; |
|
|
default: main(); |
|
|
default: main(); |
|
|
} |
|
|
} |