https://github.com/devmando/tetrisjs
Who doesn't know Tetris? Who doesn't know JS? just kidding. enjoy =]
https://github.com/devmando/tetrisjs
javascript-game tetris
Last synced: 11 months ago
JSON representation
Who doesn't know Tetris? Who doesn't know JS? just kidding. enjoy =]
- Host: GitHub
- URL: https://github.com/devmando/tetrisjs
- Owner: DevMando
- Created: 2020-10-10T20:33:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T18:01:58.000Z (about 1 year ago)
- Last Synced: 2025-04-29T19:20:15.558Z (about 1 year ago)
- Topics: javascript-game, tetris
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TetrisJS




---
## đŽ About
Author: **Armando Fernandez**
Date: **10/10/2020**
The purpose of this project is to **learn how to code a game in JavaScript**.
You can **play Tetris** directly here: [Play Tetris](https://devmando.github.io/TetrisJS/)
---
## đšī¸ Gameplay
- Classic Tetris gameplay.
- Move pieces left, right, down.
- Rotate blocks.
- Score points by clearing lines.
- Game over when the stack reaches the top.
Simple, nostalgic, and fully built with **vanilla JS, HTML5, and CSS** â no external libraries.
---
## đ How to Run Locally
1. **Clone the repository:**
```bash
git clone https://github.com/DevMando/TetrisJS.git
cd TetrisJS
```
2. Simply open the `index.html` file in your favorite browser.
## đ¤ Contributing
This project was built for personal learning and fun.
If you'd like to contribute ideas or improvements, feel free to fork the repo and open a pull request!