Skip to content

simonlc/tetr.js

Repository files navigation

Tetr.js

Default Controls:

Controls are configurable

  • Rotate Left: Z
  • Rotate Right: X
  • Rotate 180: Shift
  • Hold: C
  • Hard Drop: Space
  • Shift Left: Left Arrow
  • Shift Right: Right Arrow
  • Restart: R

mechanics and features

  • Tetris Guideline compliant
    • Random generator, first bag never spawns Z, S, or O piece first.
    • SRS
    • Hold
    • Piece preview
    • Ghost piece
  • Multiple block skins
  • Stack outline option
  • Configurable gravity
  • 60 FPS
  • DAS and DAS delay settings
  • Adaptable game size
  • Last game replay

About

🕹️ Tetris clone in HTML5 and JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published