Browse Source

Update src/main/c/main.c

remotes/origin/Saba
fdai7729 11 months ago
parent
commit
7d4a9b46b0
  1. 5
      src/main/c/main.c

5
src/main/c/main.c

@ -8,6 +8,7 @@
#include "Minesweeper/minesweeper_start.h"
#include "Pong/pong.h"
#include "Hangman/playHangman.h"
#include "Battleship_game/battleship_game.h"
int main(){
bool running = true;
@ -22,6 +23,7 @@ int main(){
printf("\t2.Pong starten\n");
printf("\t3.Snake starten\n");
printf("\t4.tic_tac_toe starten\n");
printf("\t5.battleship starten\n")
printf("\t7.Minesweeper starten\n");
printf("\t10.Exit\n");
@ -41,6 +43,9 @@ int main(){
case 4:
start_tictactoe();
break;
case 5:
start_battleship();
break;
case 7:
minesweeper_start();
break;

Loading…
Cancel
Save