diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 19f8742..7ed1e81 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -77,6 +77,12 @@ int o_wins_00_10_20(char board[][3]) { } } +int o_wins_01_11_21(char board[][3]) { + if (board[0][1] == 'O' && board[1][1] == 'O' && board[2][1] == 'O') { + return 1; + } +} + int string_character_counter(char string[]) { int stringLength = 0;