tetris class