diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 21abaa1..5d112b6 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -41,4 +41,10 @@ int power(int base, int power) { } return speicher; +} + +int x_wins_00_10_20(char board[][3]) { + if (board[0][0] == 'X' && board[1][0] == 'X' && board[2][0] == 'X') { + return 1; + } } \ No newline at end of file