Browse Source

test

remotes/origin/Ariana
fdai7775 11 months ago
parent
commit
7a4797e171
  1. 2
      src/main/c/GameTic_Tac_Toe/tictactoe.c

2
src/main/c/GameTic_Tac_Toe/tictactoe.c

@ -10,7 +10,7 @@ const char PLAYER_O = 'O';
void reset_board(){ void reset_board(){
for(int i = 0; i < BOARD_SIZE; i++){ for(int i = 0; i < BOARD_SIZE; i++){
for(int j = 0; j < BOARD_SIZE; y++){
for(int j = 0; j < BOARD_SIZE; j++){
board[i][j] = j * BOARD_SIZE + i + 1; board[i][j] = j * BOARD_SIZE + i + 1;
} }
} }

Loading…
Cancel
Save