A classic Tetris game built with HTML, CSS, and JavaScript. The project focuses on implementing core game mechanics such as piece movement, rotation, collision detection, scoring, and level progression.
- Classic Tetris gameplay
- Piece movement (left / right)
- Rotation system
- Soft drop and hard drop
- Line clearing logic
- Score, level, and line tracking
- Next piece preview
- Hold piece mechanic
- Sound effects and background music
- Game over detection
- HTML5
- CSS3
- JavaScript (Vanilla)
- HTML Canvas
-
Clone the repository
-
Open the project folder
-
Run
index.htmlin your browser.