From 7a4797e171a07a52209642cf42f505306631e4de Mon Sep 17 00:00:00 2001 From: fdai7775 Date: Fri, 2 Feb 2024 13:12:05 +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 e367101..245af28 100644 --- a/src/main/c/GameTic_Tac_Toe/tictactoe.c +++ b/src/main/c/GameTic_Tac_Toe/tictactoe.c @@ -10,7 +10,7 @@ const char PLAYER_O = 'O'; void reset_board(){ 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; } }