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