Skip to content

farteryhr/tetr.js

This branch is 47 commits ahead of, 4 commits behind simonlc/tetr.js:gh-pages.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

675d412 · Nov 11, 2022
Aug 16, 2020
Oct 23, 2015
Jul 28, 2015
Oct 23, 2015
Oct 18, 2015
Jun 3, 2015
Oct 7, 2015
Oct 25, 2019
Nov 11, 2022
Aug 16, 2020
Nov 11, 2022
Aug 16, 2020
Aug 16, 2020
Aug 16, 2020
Aug 16, 2020
May 17, 2019
Oct 25, 2019
Sep 11, 2017
Sep 11, 2017
Aug 16, 2020
May 30, 2021
Nov 11, 2022
Nov 11, 2022
Nov 11, 2022
Mar 16, 2017

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%