Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
How to Build Tetris in React - GameDev Tutorial (with React Hooks!)
Play lesson

React Tutorials - How to Build Tetris in React - GameDev Tutorial (with React Hooks!)

4.0 (1)
13 learners

What you'll learn

This course includes

  • 94.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Learn to create a Tetris game with React Hooks in this tutorial course for beginners. You will learn how to build Tetris from scratch using hooks like useState, useEffect, useCallback and custom hooks. Styling is done with Styled Components. 💻 Starter files: https://github.com/weibenfalk/react-tetris-starter-files 🎥 Tutorial from Thomas Weibenfalk. Check out his YouTube channel: https://www.youtube.com/channel/UCnnnWy4UTYN258FfVGeXBbg 🔗 Watch more courses from Thomas on his website: https://www.weibenfalk.com/ ❤️ Try interactive React courses we love, right in your browser: https://scrimba.com/freeCodeCamp-React (Made possible by a grant from our friends at Scrimba) ⭐️ Course Contents ⭐️ ⌨️ (00:00) Introduction ⌨️ (03:40) create-react-app and tooling ⌨️ (06:57) Scaffolding Components ⌨️ (15:49) Stage and Tetrominos ⌨️ (32:05) Styling with Styled Components ⌨️ (57:19) usePlayer and useStage ⌨️ (1:12:51) Stage update and player movement ⌨️ (1:37:02) Collision Detection ⌨️ (1:50:46) Player RotationG ⌨️ (2:04:12) Clear Rows ⌨️ (2:11:37) drop with useInterval ⌨️ (2:18:47) useGameStatus and React.memo -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://www.freecodecamp.org/news

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere