Browse Source

Hangman added to main

remotes/origin/Saba
fdai7875 11 months ago
parent
commit
f209855065
  1. 5
      src/main/c/main.c

5
src/main/c/main.c

@ -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();

Loading…
Cancel
Save