Browse Source

Funktion O gewinnt waagerecht oben wurde erstellt

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

6
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 string_character_counter(char string[]) {
int stringLength = 0; int stringLength = 0;

Loading…
Cancel
Save