nicosommi / tetris-web

A tetris made with react hooks rendered initially with the DOM

Home Page:http://bit.ly/2WUmKTN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A tetris made with react hooks rendered initially with the DOM

http://bit.ly/2WUmKTN


Languages

Language:TypeScript 89.6%Language:JavaScript 6.2%Language:HTML 2.9%Language:CSS 1.3%