From ae7183e618271c9d99af9a91ec13cb158808f396 Mon Sep 17 00:00:00 2001 From: Sabina Grisi Date: Fri, 9 Feb 2024 21:42:54 +0100 Subject: [PATCH] =?UTF-8?q?refactoring=20drawBoard-=20und=20switchPlayer-?= =?UTF-8?q?=20funktionen=20deklarieren,=20um=20Probleme=20zu=20l=C3=B6sen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TicTacToe.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/TicTacToe.c b/src/TicTacToe.c index b8d825d..ff46c98 100644 --- a/src/TicTacToe.c +++ b/src/TicTacToe.c @@ -1,6 +1,14 @@ #include #include "TicTacToe.h" +//Funktionen deklarieren +// Funktion zum Zeichnen der Tafel +void drawBoard(int pos1, int pos2, int pos3, int pos4, int pos5, int pos6, int pos7, int pos8, int pos9); + +// Funktion zum Wechseln des aktuellen Spielers +int switchPlayer(int currentPlayer); + + int main() { int pos1 = 1; int pos2 = 2;