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

Loading…
Cancel
Save