An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
June 23, 2022 12:06 am GMT
Original Link: https://dev.to/kkhanhluu/i-recreated-the-classic-tetris-game-with-react-and-zustand-9bp
I recreated the classic tetris game with react and zustand
Hey guys, I want to show my latest project: The classic tetris game. Checkout the demo
The techstack
- 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
Acknowledgement
- 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
That's it
That's the first time that I work with web audio api and zustand and I had so much fun working with those new stuffs.
You can checkout my repository to get more information
Original Link: https://dev.to/kkhanhluu/i-recreated-the-classic-tetris-game-with-react-and-zustand-9bp
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To