The classic tetris game built with React, Zustand, Styled Component and vite.
Check out live demo
Turn on your sound 🔊 to enjoy the game.
- React: Javascript library for building user interfaces
- Zustand: State management library for react app
- Web audio api: This API provides a system to control audio on the web
- Styled component
- Vite: A frontend build tool
- Clone this repository
- Run
yarn install
to install dependencies - Run
yarn dev
to start the dev server
- This repository is highly inspired by Angular tetris and this react tetris.
- The animation was built with the help of the useInterval hook from Dan Abramov
If you like this project, feel free to: