Browse Source

Write initializeBoard function

main^2
fdai7726 11 months ago
committed by Peter Wiebe
parent
commit
d9e40f42cc
  1. 9
      src/main/c/VierGewinnt.c

9
src/main/c/VierGewinnt.c

@ -96,4 +96,11 @@ int main_function() {
return 0;
}
// Write initializeBoard function
void initializeBoard(char board[ROWS][COLS]) {
for (int i = 0; i < ROWS; i++) {
for (int j = 0; j < COLS; j++) {
board[i][j] = ' ';
}
}
}
Loading…
Cancel
Save