A classic Tetris game built with vanilla HTML5, CSS3, and JavaScript. No frameworks, no libraries - just good old JavaScript. Perfect if you're learning game development or want to see how classic games work under the hood.
Want to jump right in? Just click the link below and start playing:
If you prefer to run it on your machine:
- Clone the repo or grab the ZIP file
- Extract it if you downloaded the ZIP
- Find the project folder
- Open
index.htmlin your browser - That's it! No npm install, no build steps, nothing.
- Enter: Start a new game or restart when it's game over
- Space: Pause/unpause
- Arrow Left (โ): Move left
- Arrow Right (โ): Move right
- Arrow Up (โ): Rotate the piece
- Arrow Down (โ): Drop faster