deleteCompleteRows

I wish to know, when should a complete row be deleted. Let’s say i have 2 rows which are almost full and can be done so by adding an I piece which is the current piece. (Lets also assume I by now only have 2 rows i.e the bottom, and one before the bottom). Should the bottom row be deleted (that is when the piece has landed) or is it possible that the row before the bottom rows gets deleted although the piece hasn’t yet landed?

Thanks

Rows only get deleted when a piece has landed. The order in which you delete the rows does not matter, since you get the same result either way.