diff --git a/src/main/c/Template/Battleship_game.c b/src/main/c/Template/Battleship_game.c index e06207a..9be5bec 100644 --- a/src/main/c/Template/Battleship_game.c +++ b/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) {