A falling-block game ends when the playfield fills. Games test for it in different places: whether a new piece has room to appear, or whether a locked piece sticks out of the top.