Tetris

Rotate and place falling blocks to clear lines. Every 10 lines raise the level and speed.

Hold (Shift)
Score
0
Level
1
Lines
0
🧱 Tetris
Press Space or Tap to Start
00:00
Next

PC Controls:

  • ← → : Move left/right
  • ↓ : Soft drop (one row)
  • Space : Hard drop (instant)
  • ↑ : Rotate
  • Shift or C : Hold piece
  • P or ESC : Pause

Mobile Controls:

  • Use touch buttons to control
  • Swipe: Left/right to move, up to rotate, down to hard drop

Embed Tetris on your site

Paste the code into the HTML view of your post or page. It works on WordPress, Blogger and most site builders that allow iframes.

Seven kinds of block fall one at a time onto a 10 x 20 board. A full row clears, and the game ends when blocks stack to the top. Alexey Pajitnov made the first one in 1984. This page keeps the basic rules and adds Hold and a ghost piece.

Scoring by lines and level

ActionLevel 1Level 5
1 line100500
4 lines8004,000

Line points are multiplied by the level. Four lines at once pays double four single clears (400), so leaving one column open and finishing with a straight piece scores best.

Every 10 cleared lines raise the level. A block falls one row per second at level 1, each level cuts that to three quarters, so level 5 takes 0.316 seconds. The start level can be 1, 2, 3, 5 or 10.

Rotation, Hold and the ghost

On a keyboard use the arrows or A and D to move, Up to rotate clockwise, Space to hard drop, Shift or C for Hold, and P or Esc to pause. On a phone use the on-screen buttons or swipe: sideways to move, up or a short tap to rotate, down to hard drop.

Rotation is clockwise only, so press three times to turn the other way. Hold stores the current block and swaps it back later, once per block. The ghost outline shows the landing spot. The best score is not saved.