An open API service indexing awesome lists of open source software.

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 =]

Awesome Lists containing this project

README

          

# TetrisJS

![HTML5](https://img.shields.io/badge/HTML5-Project-orange)
![JavaScript](https://img.shields.io/badge/JavaScript-Game-yellow)
![Status](https://img.shields.io/badge/Status-Complete-brightgreen)
![License](https://img.shields.io/badge/License-MIT-blue)

---

## 🎮 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!