Browse Source

Funktion für O gewinnt waagerecht Mitte erstellt

remotes/origin/siamak
Siamak 11 months ago
parent
commit
a01bfbfe4c
  1. 6
      src/c/funktionen.c

6
src/c/funktionen.c

@ -93,6 +93,12 @@ int o_wins_00_01_02(char board[][3]) {
} }
} }
int o_wins_10_11_12(char board[][3]) {
if (board[1][0] == 'O' && board[1][1] == 'O' && board[1][2] == 'O') {
return 1;
}
}
int stringCharacterCounter(char string[]) { int stringCharacterCounter(char string[]) {
int stringLength = 0; int stringLength = 0;

Loading…
Cancel
Save