Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.75 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.75 KB

Tetris Game

This project is a simple Tetris game implemented using HTML, CSS, and JavaScript. Experience the classic block-stacking challenge and test your skills!

rules game

Introduction

Tetris Game is a web-based application that brings the timeless enjoyment of Tetris to your browser. Stack falling tetrominoes to complete rows, earn points, and challenge yourself to achieve the highest score.

Features

  • Classic Tetris Gameplay: Move, rotate, and drop tetrominoes to create solid lines and prevent the stack from reaching the top.
  • Scoring System: Earn points by clearing rows. The more rows you clear simultaneously, the higher your score.
  • Responsive Design: Play the game on various screen sizes, providing a seamless experience across devices.

Getting Started

To play Tetris:

  1. Clone the repository: git clone https://github.com/Erikote04/Tetris.git
  2. Open the index.html file in a web browser.
  3. Click the "Start" button to begin the game.

Game Controls

  • Left Arrow (←): Move the tetromino left.
  • Right Arrow (→): Move the tetromino right.
  • Up Arrow (↑): Rotate the tetromino.
  • Down Arrow (↓): Accelerate the tetromino's descent.

Scoring

  • Line Clear: Clearing a single line awards 10 points.
  • Combo Bonus: Clearing multiple lines simultaneously earns additional points.

Game Over

The game ends if the stack of tetrominoes reaches the top of the board. The final score is displayed, and you can restart the game by clicking the "Start" button.