The game ends when you clear the 1000 lines.