ains / tetr.js

Tetris clone in HTML5 and JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#tetr.js

Default Controls:

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

Current mechanics and features

  • Tetris Guideline compliant
    • Colors
    • Random generator, first bag never spawns Z, S, or O piece first.
    • SRS
    • Gameover by lock out or block out
    • Hold
    • Piece preview
  • Game statistics like PPM, Time, etc.
  • Multiple mino skins
  • Stack outline
  • Configurable gravity
  • 60 FPS
  • Fast code and drawing
  • DAS and DAS delay settings
  • Configurable controls
  • Adjustable game size
  • Ghost piece color and transparency
  • Responsive design
  • Preload das preservation during countdown
  • Finesse faults counter.

Planned future mechanics and features

  • Mobile design
  • More game modes (ultra, etc)
  • Training mode, 2step trainer, patterns, etc
  • Replays
  • Stats logging
  • Leaderboards
  • Sound effects
  • T-spin and twist detection
  • Custom mino skins (or at least a selection)

TODO misc

  • Help page
  • Feedback button
  • Include license

About

Tetris clone in HTML5 and JavaScript


Languages

Language:JavaScript 84.2%Language:CSS 9.5%Language:HTML 6.3%