Skip to content

Tetris clone in HTML5 and JavaScript

License

Notifications You must be signed in to change notification settings

jimfranke/tetr.js

 
 

Repository files navigation

tetr.js

Have a try in your browser.

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.
  • Farter's Dig mod:
    • Dig modes
    • Mobile design
    • Replays
    • Leaderboards

Planned future mechanics and features

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

TODO misc

  • Help page
  • Feedback button

About

Tetris clone in HTML5 and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.8%
  • CSS 7.2%
  • HTML 7.0%