[Solved] C# Tetris, clear the formed rectangle instead of row or line
Something like this: public static void deleteGrid(int startX, int startY, int width = 5, int height = 4) { // to avoid Errors, Check if indexes are in bound for grid. // if condition code goes here // then… for (int i = startX; i < startX + width; i++) { for (int j = … Read more