simonlc / tetr.js

🕹️ Tetris clone in HTML5 and JavaScript

Home Page:http://simon.lc/tetr.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://simon.lc/tetr.js

License:MIT License


Languages

Language:JavaScript 83.4%Language:CSS 11.2%Language:HTML 5.4%