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