Overview
Learn to create a Tetris game from scratch using React Hooks like useState, useEffect, useCallback, and custom hooks. The course covers scaffolding components, styling with Styled Components, player movement, collision detection, player rotation, clearing rows, and game status management. The teaching method involves practical coding tutorials with step-by-step instructions. This course is intended for beginners looking to enhance their React skills by building a fun and interactive game.
Syllabus
) Introduction.
) 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.
Taught by
freeCodeCamp.org