From 8af1c7b6e0bee9f71264753501c5bdc7d88a0c7a Mon Sep 17 00:00:00 2001 From: KaffeeMaus Date: Fri, 26 Jan 2024 12:18:58 +0100 Subject: [PATCH] refactoring: renamed vars --- src/main/c/Georg/tictactoe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/c/Georg/tictactoe.c b/src/main/c/Georg/tictactoe.c index 8f3e976..535475d 100644 --- a/src/main/c/Georg/tictactoe.c +++ b/src/main/c/Georg/tictactoe.c @@ -88,9 +88,9 @@ char* getUserInput(){ } void initializeBoard( bool board[BORAD_SIZE][BORAD_SIZE] ){ - for (int i = 0; i < 3; ++i) { - for (int j = 0; j < 3; ++j) { - board[i][j] = 0; + for (int line = 0; line < 3; ++line) { + for (int column = 0; column < 3; ++column) { + board[line][column] = 0; } } }