This project is a simple Tetris game implemented using HTML, CSS, and JavaScript. Experience the classic block-stacking challenge and test your skills!
![rules](https://private-user-images.githubusercontent.com/126704751/303586134-5294739c-828e-4878-91c9-7e7c3c6c6838.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MDgwNTYsIm5iZiI6MTcyNDQwNzc1NiwicGF0aCI6Ii8xMjY3MDQ3NTEvMzAzNTg2MTM0LTUyOTQ3MzljLTgyOGUtNDg3OC05MWM5LTdlN2MzYzZjNjgzOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QxMDA5MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OTJhMGIwN2FhY2FlNjc4MWNjZmIxYjYyYmYwZjE2MDVmZjcxOTQ4YzA2YjhhZTFlMDVkMjc1NzVmNTU1OTZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7qhNF7hFIsoMsO_T_AVD6j_Rx3wMVh84_3Ig--d5Qsw)
![game](https://private-user-images.githubusercontent.com/126704751/303586944-b6ee029c-7f30-4c28-b1c6-15a52a04d3b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MDgwNTYsIm5iZiI6MTcyNDQwNzc1NiwicGF0aCI6Ii8xMjY3MDQ3NTEvMzAzNTg2OTQ0LWI2ZWUwMjljLTdmMzAtNGMyOC1iMWM2LTE1YTUyYTA0ZDNiNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QxMDA5MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YjcyMmI1NjgzZGY0ZTAyMWI0Y2ZiNmJiOWZkNjE4MjcwMzUxNjY3MTY2YTEyY2IxOTVhMTExZGJhZjJkNzQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.iC_O40Xa4egoNkXEyINM1an1_IG40i3fa7v8mdAqrAQ)
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.
- 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.
To play Tetris:
- Clone the repository:
git clone https://github.com/Erikote04/Tetris.git
- Open the
index.html
file in a web browser. - Click the "Start" button to begin the game.
- Left Arrow (←): Move the tetromino left.
- Right Arrow (→): Move the tetromino right.
- Up Arrow (↑): Rotate the tetromino.
- Down Arrow (↓): Accelerate the tetromino's descent.
- Line Clear: Clearing a single line awards 10 points.
- Combo Bonus: Clearing multiple lines simultaneously earns additional points.
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.