diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 6292eba..1366193 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -69,6 +69,12 @@ int x_wins_02_11_20(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 stringCharacterCounter(char string[]) { int stringLength = 0;