Skip to content
A tetris made with react hooks rendered initially with the DOM
TypeScript JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
typings
.env
.gitignore
.prettierrc.yaml
README.md
package.json
tsconfig.base.json
tsconfig.json
tslint.yaml
yarn.lock

README.md

Tetris with react

Idea: create a game using the DOM with react hooks and try how far I can get with it...

WHY

Fun, practice, experiment, learn.

Why not use canvas or a game engine?

I'm not using a game engine because this is an experiment using react hooks. On the other hand, I'm rendering divs as a first iteration implementation, but it should be relatively easy to adapt the game state to a canvas or even an svg renderer.

KNOWN ISSUES

  • clunky rotation
  • no scoreboard
You can’t perform that action at this time.