A small browser-based Tetris clone built with vanilla JavaScript.
Created to practice game logic, state management, and canvas rendering.
You can play it here:
https://dh1542.github.io/tetris/
- โฌ ๏ธ Arrow Left โ Move left
- โก๏ธ Arrow Right โ Move right
- โฌ๏ธ Arrow Up โ Rotate
- โฌ๏ธ Arrow Down โ Soft drop
- โ Enter โ Restart after game over
- Vanilla JavaScript (ES Modules)
- HTML5 Canvas
- CSS
Just open index.html in your browser
or use a simple local server:
python3 -m http.server