Browse Source

Update src/main/c/Template/Battleship_game.c

remotes/origin/Battleship_game
fdai7729 11 months ago
parent
commit
efcde861fc
  1. 9
      src/main/c/Template/Battleship_game.c

9
src/main/c/Template/Battleship_game.c

@ -396,6 +396,13 @@ int multiplayer() {
}
if (score1 = 16) {
printf("Player 1 hat gewonnen.");
}
if (score1 = 16) {
printf("Player 1 hat gewonnen.");
}
return 0;
}
@ -404,7 +411,7 @@ int main() {
int player;
printf("*Battleship*\n\n Single player: press <1>\n Multiplayer: press <2>\n");
printf("*Schiffeversenken*\n\n Single player: Drück <1>\n Multiplayer: Drück <2>\n");
scanf("%d", &player);
if (player == 1) {

Loading…
Cancel
Save