Skip to content

Tech-at-DU/React-Redux-Tetris-Tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Build Tetris with React & Redux

Welcome! In this tutorial, you’ll build a fully functional version of Tetris using React and Redux Toolkit — one step at a time.

You'll start with a basic React app and work all the way up to a polished, interactive game with score tracking, keyboard controls, and automatic block dropping.

This tutorial is hands-on and code-first. After each short page, your game will still run — no broken builds, no skipped logic. You'll also find:

  • 🤖 AI Prompts to help you explore concepts deeper
  • 🧠 Check for Understanding to reinforce learning
  • Working Code after every step

🗂️ Tutorial Outline

Each step builds on the one before it:

🛠️ Setup and Layout

🧠 State Management with Redux

🔌 Connecting Components to State

🎮 Game Logic

🏆 Stretch Goals


🧠 What You'll Learn

  • Core React concepts: components, props, and hooks
  • Redux Toolkit: slices, state, and dispatch
  • Grid-based rendering logic
  • Game loop timing with requestAnimationFrame
  • UI layout using CSS Grid

🚀 Let’s Go

Start with 00-Introduction.md and follow the steps in order. Each page keeps your app functional and helps you build real logic and design patterns.

Good luck and have fun — let's build Tetris! 🧱

About

Build the classic arcade game Tetris with React and Redux!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published