From f2098550653e31da91b24139ec120d483263f822 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 11:03:15 +0000 Subject: [PATCH] Hangman added to main --- src/main/c/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/c/main.c b/src/main/c/main.c index f0e5b90..94ded54 100644 --- a/src/main/c/main.c +++ b/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();