Fill a row from edge to edge and it clears. Clear 10 rows to level up, and the blocks fall faster. The game ends when the stack reaches the top.