React-tetris! ⚛️🕹️

A minimalist tetris game made with React.js. Preview

How to play

You can play it here: https://tetris-react-lmnz.vercel.app/

Use directional inputs or swipe on mobile to move sideways, swipe up to rotate, and swipe down for a faster fall.

Project description

I made this game primarily to study Redux and Error handling. Although it has some code smells, it is generally well made, and more importantly for a game: has great time sessions and replay rate. Key features include:

  • Modular architecture of piece and blocks
  • Rudimentar AI balancement
  • Redux for state management
  • Errors as collision triggers
  • Pseudo 3d visuals and VFX

Installation Instructions

The project uses this base TS React template with linting and more: https://github.com/TheSwordBreaker/vite-reactts-eslint-prettier. You can run the commands below for install dependencies and run the project locally:

yarn
yarn dev

Contact and license

For any inquiries or feedback, feel free to reach out:

This project is licensed under the MIT License.