This is a special object that creates Tetris pieces. It can only create one piece at a time, and it can only create a new piece when an old piece has joined the board. It picks a number between 0 and 6 at random, each number referring to a Tetris piece. Therefore the user will never know which piece is going to fall down the board next.reference: PieceAnimator
reference: Board