~/tools/tetris

Tetris.js

Stack tetrominoes. Clear lines. Speed ramps every 10 lines. Pieces in cyan, purple, pink, amber, green โ€” the Mentria palette.

What is this? Hide details

What is Tetris?

Browser-native Tetris with a terminal aesthetic. HTML5 Canvas, accurate piece spawning with Super Rotation System logic, hold queue, ghost piece, level-based gravity. High score saved to localStorage. No install, no signup, no third-party scripts โ€” game logic and timing all run client-side and the game works offline.

tetris.js
Score
0
Level
01
Lines
0
Hold
Next
Best
0
Combo
โ€”