|
|
@ -25,10 +25,12 @@ int game(char you, char computer) |
|
|
|
} |
|
|
|
|
|
|
|
int Modus1() { |
|
|
|
char ende[10] = "Weiter"; |
|
|
|
int n; |
|
|
|
char Mensch[50]; |
|
|
|
printf("\t\t\t\tName Mensch/in: "); |
|
|
|
scanf("%s", Mensch); |
|
|
|
while (ende[0] == 'W' || ende[0] == 'w') { |
|
|
|
char you = 'Y', computer, Lösung; |
|
|
|
srand(time(NULL)); |
|
|
|
n = rand() % 100; |
|
|
@ -45,4 +47,9 @@ int Modus1() { |
|
|
|
scanf(" %c", &you); |
|
|
|
} |
|
|
|
int Stand1 = 0, Stand2 = 0; |
|
|
|
|
|
|
|
|
|
|
|
printf("\t\t\t\tMoechten Sie weiter spielen oder beenden? (Weiter/Ende)\n\t\t\t\t"); |
|
|
|
scanf("%s", ende); |
|
|
|
} |
|
|
|
} |