When a line contains at least 5 blocks they are removed from the board and you are getting points added to your current score. The score depends from the amount of removed blocks. In each step when you cannot build a line, 3 new blocks are dropped onto the board