Git Product home page Git Product logo

tetris's Introduction

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.

tetris's People

Contributors

erikote04 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.