Update new_col.c
This commit is contained in:
@@ -20,3 +20,12 @@ int new_column() {
|
|||||||
}
|
}
|
||||||
return actual_col; // return the random 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];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user