Gameplay of Tetris
The action of Tetris happens within a machine called a tetrion.
The largest part of the tetrion consists of the playfield measuring ten spaces across by twenty spaces down. It has other parts explained below.
Randomly selected tetrominoes, or shapes consisting of four square blocks, fall from the top of the playfield one at a time. Each tetromino enters the playfield with a given orientation and color depending on its shape. Part of the tetrion, called the piece preview, shows the next pieces that will enter the playfield.
The player can rotate the falling tetromino ninety degrees at a time within the plane of the playfield by pressing the counterclockwise or clockwise rotation buttons, provided the piece has room to rotate. Many versions of the game nudge the tetromino away from the wall or other blocks in order to make room.
The player can shift the falling tetromino sideways one space at a time by pressing the left or right arrow or holding it for quicker movement, provided the piece has room to move. Pieces cannot shift through walls or other blocks.
At the top left, or in some cases the bottom right, of the tetrion is an area called the hold box where a player can store a tetromino for later use. At any time while a tetromino falls, the player can move it to the hold box, and any tetromino held earlier now moves to the top of the playfield. After moving a tetromino to the hold box, the player must then lock the resulting tetromino before holding again (see below).
Each tetromino moves downward by itself, at a speed determined by the game rules. Generally a player can use some method to "drop" the tetromino, or make it move downward faster. Once the tetromino lands on the floor or other blocks, the piece will delay shortly before locking in which time the player can move it. After locking, a player can no longer move the tetromino.
When a tetromino locks and by doing so fills all empty spaces within one or more rows of the playfield, those full rows will clear. Remaining blocks above will move down by the same number of lines cleared below them.
If the playfield has not filled up with blocks, the next piece enters.