Classic Tetris built with React hooks.
Calculates score based on level and number of lines cleared. Displays user score, level, and current high score.
High score is stored using Web Storage API (localStorage)
Live Demo: Heroku Demo
Clear as many lines as possible to score points before your tetrominoes build up and hit top of the game screen.
The more lines you clear at once the more points you score!
← Move Left
→ Move Right
↓ Move Down
↑ Rotate Tetromino
D Drop Instantly
Click the Pause button to Pause/Unpause gameplay.
- Install dependencies in main project folder.
npm install
Run the client
npm start
- JavaScript
- React (React hooks)
- VSCode
This project is licensed under the MIT License - see the LICENSE.md file for details