react-tetris-game

1.0.1 • Public • Published

React Tetris Game

Demo is here

Screenshot React Tetris Game JavaScript/TypeScript

Control

  • UP - rotate figure (tetromino)
  • DOWN - soft drop
  • RIGHT/LEFT - move
  • ENTER - start again

Known problems

  • Figures start position is too low. Some figures (which have first empty line) appears lower then expected.
  • Fix-delay depends on speed. No time to move or rotate when soft drop.
  • No pause.
  • No music.
  • No touch control.

Keywords

JavaScript, TypeScript, React, Konva, ReactKonva, Sound, Beep, Canvas, animation, game

Readme

Keywords

none

Package Sidebar

Install

npm i react-tetris-game

Weekly Downloads

10

Version

1.0.1

License

none

Unpacked Size

97.8 kB

Total Files

15

Last publish

Collaborators

  • sete