Browse Source

refactoring: renamed vars

remotes/origin/georg
KaffeeMaus 11 months ago
parent
commit
8af1c7b6e0
  1. 6
      src/main/c/Georg/tictactoe.c

6
src/main/c/Georg/tictactoe.c

@ -88,9 +88,9 @@ char* getUserInput(){
} }
void initializeBoard( bool board[BORAD_SIZE][BORAD_SIZE] ){ 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;
} }
} }
} }

Loading…
Cancel
Save