Browse Source

Kreis gewinnt senkrecht links-Funktion erstellt.

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

6
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;

Loading…
Cancel
Save