Learn to create a Tetris game with React Hooks in this course from Thomas Weibenfalk. You will learn how to build Tetris from scratch using hooks like useState, useEffect, useCallback and custom hooks. Styling is done with Styled Components.
The course covers the following topics:
- create-react-app and tooling
- Scaffolding Components
- Stage and Tetrominos
- Styling with Styled Components
- usePlayer and useStage
- Stage update and player movement
- Collision Detection
- Player RotationG
- Clear Rows
- drop with useInterval
- useGameStatus and React.memo
You can watch the full video course on the freeCodeCamp.org YouTube channel (3 hour watch).