Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 861 Bytes

README.md

File metadata and controls

46 lines (28 loc) · 861 Bytes

Tetris Web App

A Tetris game built using React where you can start the game, rearange incoming blocks using keyboard inputs to fill a row and score points. If blocks collide with the top, the game is over.

Subjects Covered

  • React Hooks (useState, useEffect, useCallback, and custom hooks)
  • Styled Components
  • Keyboard inputs
  • React.memo

Screenshots

App Screenshot

Run Locally

Clone the project

  git clone https://github.com/ainistaranda/react-tetris.git

Go to the project directory

  cd react-tetris

Install dependencies

  npm install

Start the server

  npm start

Acknowledgements