diff --git a/src/c/funktionen.c b/src/c/funktionen.c index a1c87b0..f5d0c57 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -89,6 +89,12 @@ int o_wins_02_12_22(char board[][3]) { } } +int o_wins_00_01_02(char board[][3]) { + if (board[0][0] == 'O' && board[0][1] == 'O' && board[0][2] == 'O') { + return 1; + } +} + int string_character_counter(char string[]) { int stringLength = 0;