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