Skip to content

FaizanCod/React-Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Tetris Game using React

The gameis live at https://react-tetris-faizan.netlify.app/ Enjoy!

Tetris is a puzzle video game that all of us might have played as children. I tried to recreate the game using React and it turned out amazing. Do check it out and relive your childhood days!

The aim in Tetris is simple; you bring down blocks from the top of the screen. You can move the blocks around, either left to right (using the corresponding keys on your keyboard) and/or you can rotate them (using the UP key on keyboard). The blocks fall at a certain rate, but you can make them fall faster if you’re sure of your positioning (using the DOWN key on your keyboard). Your objective is to get all the blocks to fill all the empty space in a line at the bottom of the screen; whenever you do this, you’ll find that the blocks vanish and you get awarded some points.

Technologies used

React (components and hooks)

Git and GitHub (for Version Control)

Netlify (for deployment)

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

References: https://youtu.be/ZGOaCxX8HIU

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published