Browser game made with React and Redux.
Try it out here!
The game will progressively get faster as you level up.
Clear 3 lines to level up!
You get more points by clearing multiple lines at once. You also get more points per line clear, the higher your level is.
| Action | Key(s) |
|---|---|
| Move Left | Left Arrow, A |
| Move Right | Right Arrow, D |
| Move Down | Down Arrow, S |
| Hold Piece | C, E |
| Rotate Clockwise | Up Arrow, W, X |
| Rotate Counterclockwise | Q, Z |
| Pause / Unpause | Escape, Enter |
| Restart After Game Over | Space, Enter |
- Clone this repo.
git clone https://github.com/AcidicNic/tetris.git && cd tetris- Install npm dependencies.
npm i- Run the app locally.
npm run start- Visit localhost:3000