Browse Source

Spielmodus waehlen

main
Celine Khazarian 11 months ago
parent
commit
41638651b9
  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: main();
}
}
Loading…
Cancel
Save