Skip to content

SairaMadrid/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Tetris Game

This is a classic Tetris game implemented in JavaScript. Enjoy the timeless puzzle game on your web browser.

Table of Contents

Features

  • Classic Tetris gameplay.
  • Responsive design for various screen sizes.
  • Simple and intuitive controls.
  • Score tracking.

Getting Started

Prerequisites

Make sure you have a modern web browser that supports HTML5 and JavaScript.

Installation

  1. Clone the repository or download the ZIP file.
  2. Open index.html in your web browser.

How to Play

  • The game starts with an empty grid.
  • Move and rotate the falling tetromino using the controls (see Controls section).
  • The goal is to complete rows by filling them completely with tetromino blocks.
  • When a row is completed, it disappears, and you earn points.
  • The game ends when the blocks reach the top of the grid.

Controls

  • Left Arrow: Move tetromino left.
  • Right Arrow: Move tetromino right.
  • Down Arrow: Move tetromino down faster.
  • Up Arrow: Rotate tetromino.

Scoring

  • Clear one row: +10 points
  • Clear two rows: +30 points
  • Clear three rows: +60 points
  • Clear four rows (Tetris): +100 points

Contributing

Contributions are welcome. Feel free to open issues, fork the repository, and submit pull requests to help improve the game.

Thank you to Ania Kubow for her tutorial to help create this game :) https://www.youtube.com/watch?v=rAUn1Lom6dw

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published