Clearing Lines
In this lesson, you will find out how to clear lines in Tetris when the blocks form a full line.
We'll cover the following
Line clear
The object of Tetris is to last as long as possible before the screen fills up with tetrominoes.
To keep playing, we need to assemble the tetrominoes in rows of blocks that span the entire row, resulting in a line clear. A line clear causes the row to disappear and lets the ones above it to settle.
Types of line clears
A single clears one line at a time:
Get hands-on with 1400+ tech skills courses.