A Tetris game built using React where you can start the game, rearange incoming blocks using keyboard inputs to fill a row and score points. If blocks collide with the top, the game is over.
- React Hooks (useState, useEffect, useCallback, and custom hooks)
- Styled Components
- Keyboard inputs
- React.memo
Clone the project
git clone https://github.com/ainistaranda/react-tetris.git
Go to the project directory
cd react-tetris
Install dependencies
npm install
Start the server
npm start