Update new_col.c

This commit is contained in:
Jason Bou-Samra
2024-07-23 19:08:07 +10:00
committed by GitHub
parent 8de03e4f28
commit 77ced83010
+9
View File
@@ -20,3 +20,12 @@ int new_column() {
}
return actual_col; // return the random column
}
// display brick in relevant row/column of board array
int disp_column(int row, int col)
{
for (i = 0; i < 3; i++) {
grid[0][row + i][col] = tile_current[i];
}
}