Tetris

This is the fourth app I have ever created. This will be a tetris web app. A classic Tetris game built with modern web technologies. Drop, rotate, and clear lines in this timeless puzzle game.

Features

  • Classic Tetris gameplay - All 7 standard tetrominoes (T, I, O, S, Z, J, L)
  • Smooth controls - Arrow keys for movement, spacebar for hard drop
  • Line clearing - Complete horizontal lines disappear with satisfying animation
  • Progressive difficulty - Game speed increases as you clear more lines
  • Score system - Points for placing pieces and clearing lines
  • Next piece preview - See what's coming next
  • Responsive design - Works on desktop and mobile devices

Controls

  • ← → Arrow keys: Move piece left/right
  • ↓ Down arrow: Soft drop (faster fall)
  • ↑ Up arrow: Rotate piece clockwise
  • Spacebar: Hard drop (instant placement)
  • P: Pause/unpause game

Objective

  • Drop tetrominoes to fill horizontal lines
  • Clear lines by completing them entirely
  • Survive as long as possible as speed increases
  • Scor epoints for piece placement and line clears
Scoring
  • Single line: 100 points
  • Double lines: 300 points
  • Triple lines: 500 points
  • Tetris (4 lines): 800 points