From fba334758568305b99a0cf87f9f5a47b7a468750 Mon Sep 17 00:00:00 2001 From: fdai7775 Date: Fri, 2 Feb 2024 13:19:33 +0000 Subject: [PATCH] Test --- src/main/c/GameTic_Tac_Toe/tictactoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/c/GameTic_Tac_Toe/tictactoe.c b/src/main/c/GameTic_Tac_Toe/tictactoe.c index e67f075..ce8b8fc 100644 --- a/src/main/c/GameTic_Tac_Toe/tictactoe.c +++ b/src/main/c/GameTic_Tac_Toe/tictactoe.c @@ -11,7 +11,7 @@ const char PLAYER_O = 'O'; void reset_board(){ for(int i = 0; i < BOARD_SIZE; i++){ for(int j = 0; j < BOARD_SIZE; j++){ - board[i][j] = j * BOARD_SIZE + i + 49; + board[i][j] = i * BOARD_SIZE + j + 49; } } }