This is a simple implementation of the classic Tetris game using HTML, CSS and JavaScript.
To start game, visit the link
-
Controls:
- Left Arrow: Move tetromino left.
- Right Arrow: Move tetromino right.
- Down Arrow: Move tetromino down (faster).
- Up Arrow: Rotate tetromino.
-
Objective:
- The goal is to complete as many rows as possible by filling them with tetrominoes.
- When a row is completely filled, it will be cleared, and you earn points.
-
Scoring:
- Earn points for each cleared row.
- The more rows you clear simultaneously, the higher your score:
- 1 row: 20 points
- 2 rows: 50 points
- 3 rows: 100 points
- 4 rows: 300 points
-
Game Over:
- The game ends when a new tetromino cannot be placed at the top of the playfield.
The implementation is created by Alona Kuznietsova.
Enjoy playing Tetris!