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