Skip to content

BodhiProtocol/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 Tetris

License: MIT Release Play Now

Classic Tetris — 7-bag randomizer, ghost piece, next-piece preview. Kid and Adult modes. Playable instantly in any browser.


🎮 Play Now

https://bodhiprotocol.github.io/tetris/


✨ Features

Feature Details
10×20 board Standard Tetris playfield
7-bag randomizer Every piece appears once before any repeats
Ghost piece Shows where the current piece will land
Next-piece preview Plan your next move ahead
Hard & soft drop Instant slam or accelerated fall
Level speed ramp Drop speed increases every 10 lines cleared
Kid mode Slower drop speed, board clears instead of game-over on top-out
Adult mode Standard game-over on top-out
PWA Installable, works offline
Zero dependencies Pure HTML + CSS + JS

🚀 Getting Started

Play Online

https://bodhiprotocol.github.io/tetris/

Play Offline

git clone https://github.com/BodhiProtocol/tetris.git
# Open index.html in any browser

How to Play

  1. Choose 🧒 Kids or ⚡ Adult mode
  2. Arrow keys (or touch buttons) to move and rotate
  3. Soft drop for speed, hard drop to slam instantly
  4. Clear horizontal lines to score — clear more at once for bonus points
  5. Every 10 lines clears a level and speeds up the drop

🛠️ Technical Specifications

Aspect Details
Architecture Single HTML file (SPA)
Technology Vanilla JS + Canvas
Dependencies Zero
Browser support Chrome 60+, Firefox 55+, Safari 11+, Edge 79+

📄 License

MIT — free for personal, educational, and commercial use.


Created by BodhiProtocol · Built with Claude AI

Play Now · Report Issue

Releases

No releases published

Packages

 
 
 

Contributors