|
|
@ -7,6 +7,7 @@ |
|
|
|
#include "Snake/snake_start.h" |
|
|
|
#include "Minesweeper/minesweeper_start.h" |
|
|
|
#include "Pong/pong.h" |
|
|
|
#include "Hangman/playHangman.h" |
|
|
|
|
|
|
|
int main(){ |
|
|
|
bool running = true; |
|
|
@ -17,7 +18,7 @@ int main(){ |
|
|
|
|
|
|
|
system("clear"); |
|
|
|
printf("Waehlen Sie eine Option:\n"); |
|
|
|
printf("\t1.Spiel1 starten\n"); |
|
|
|
printf("\t1.Hangman starten\n"); |
|
|
|
printf("\t2.Pong starten\n"); |
|
|
|
printf("\t3.Snake starten\n"); |
|
|
|
printf("\t4.tic_tac_toe starten\n"); |
|
|
@ -29,7 +30,7 @@ int main(){ |
|
|
|
|
|
|
|
switch (option){ |
|
|
|
case 1: |
|
|
|
//start_game1(); |
|
|
|
playHangman(selectRandomWord()); |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
pong(); |
|
|
|