Browse Source

Spielmodus waehlen

remotes/origin/Celine
Celine Khazarian 11 months ago
parent
commit
66417ac800
  1. 11
      src/main/c/SchereSteinPapier.c

11
src/main/c/SchereSteinPapier.c

@ -119,3 +119,14 @@ int Modus2() {
scanf("%s", ende); scanf("%s", ende);
} }
} }
int Start() {
int Frage;
printf("Spielmodus waehlen:\n[1] Computer\n[2] 2 Mensch\n");
scanf("%d", &Frage);
switch (Frage) {
case 1: Modus1(); break;
case 2: Modus2(); break;
default: Start();
}
}
Loading…
Cancel
Save