Skip to content

Commit

Permalink
Merge pull request #259 from Adi-456/main
Browse files Browse the repository at this point in the history
TETRIS GAME added successfully...
  • Loading branch information
Swpn0neel authored Oct 14, 2023
2 parents 65cd74a + 4403d1a commit 473af6f
Show file tree
Hide file tree
Showing 33 changed files with 17,818 additions and 0 deletions.
54 changes: 54 additions & 0 deletions Tetris Game/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@


# Tetris Game Readme

## Description
This is a classic Tetris game developed using HTML5, CSS3, and jQuery. The game is built with responsive web design (RWD) principles in mind, making it playable on various screen sizes and devices. Tetris is a popular and addictive puzzle game where the player must manipulate falling tetrominoes to create complete horizontal lines and prevent the screen from filling up.

## Table of Contents
- [Features](#features)
- [Getting Started](#getting-started)
- [How to Play](#how-to-play)
- [Controls](#controls)
- [Scoring](#scoring)
- [Contributing](#contributing)
- [License](#license)

## Features
- Classic Tetris gameplay.
- Responsive web design for playability on different devices.
- Intuitive and user-friendly controls.
- Score tracking to challenge yourself and others.
- Hours of fun and entertainment.

## Getting Started
To play this Tetris game, follow these simple steps:

1. Clone or download this repository to your local machine.
2. Open the `index.html` file in a modern web browser (such as Chrome, Firefox, or Edge).
3. The game should load, and you can start playing immediately.

## How to Play
The objective of Tetris is to clear lines by fitting different shaped tetrominoes together. The game will start with a random tetromino falling from the top of the screen. You can move the tetromino left or right, rotate it, and accelerate its descent as it falls.

Your goal is to complete horizontal lines with no gaps. When a line is complete, it will disappear, and you will earn points. The game continues, and the tetrominoes keep falling at an increasing speed. The game ends when the screen fills up.

## Controls
- **Left Arrow**: Move the current tetromino left.
- **Right Arrow**: Move the current tetromino right.
- **Down Arrow**: Accelerate the descent of the current tetromino.
- **Up Arrow or Spacebar**: Rotate the current tetromino.
- **P**: Pause the game.

## Scoring
- **Single Line Clear**: 100 points.
- **Double Line Clear**: 300 points.
- **Triple Line Clear**: 500 points.
- **Tetris (Four-Line Clear)**: 800 points.

Try to achieve the highest score and challenge your friends!

## Contributing
If you would like to contribute to this project, feel free to submit issues, feature requests, or pull requests on the [GitHub repository](https://github.com/yourrepositoryname).

## License
Binary file added Tetris Game/css/Oswald-Bold.otf
Binary file not shown.
Binary file added Tetris Game/css/Oswald-Light.ttf
Binary file not shown.
Loading

0 comments on commit 473af6f

Please sign in to comment.