From 10a0ce2f08270763dd486d0e19367a667c5572e5 Mon Sep 17 00:00:00 2001 From: Sabina Grisi Date: Fri, 9 Feb 2024 22:51:14 +0100 Subject: [PATCH] TicTacToe zu Menue hinzugefuegt --- src/TicTacToe.c | 2 +- src/menue.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TicTacToe.c b/src/TicTacToe.c index 3ca6619..77df338 100644 --- a/src/TicTacToe.c +++ b/src/TicTacToe.c @@ -15,7 +15,7 @@ int checkForWin(int pos1, int pos2, int pos3, int pos4, int pos5, int pos6, int void messages(int message, char player); -int main() { +int run_TicTacToe() { messages(99, '\0'); int pos1 = 1; diff --git a/src/menue.c b/src/menue.c index 59e6fc7..d99fa2c 100644 --- a/src/menue.c +++ b/src/menue.c @@ -10,6 +10,7 @@ int run_wortspiel(); int run_mathespiele(); int run_TemperaturRechner(); int run_PasswortGenerator(); +int run_TicTacToe(); void trenner () { // Die laenge der Abtrenner kann hier fuer alle 3 angepasst werden