Skip to content

Tetris Game with Score history, Leaderboard, Light and Dark Mode using PHP, JavaScript, HTML, Bootstrap, and MySQL

Notifications You must be signed in to change notification settings

DaniyalFarooque/Tetris

Repository files navigation

Tetris

Tetris is a 2-D classic tile matching puzzle game. It is primarily composed of a field of play in which pieces of different geometric forms, called "tetriminos"; descend from the top of the field. During this descent, the player can move the pieces laterally and rotate them until they touch the bottom of the field or land on a piece that had been placed before it. The player can neither slow down the falling pieces nor stop them, but can accelerate them. The objective of the game is to use the pieces to create as many horizontal lines of blocks as possible. When a line is completed, it disappears, and the blocks placed above fall one rank. Completing lines grants points to the player, and accumulating a certain number of points moves the player up a level, which increases the number of points granted per completed line. The game ends when the playing field is filled to the point that additional pieces can no longer descend. The longer the player can delay this inevitable outcome, the higher their score will be. The player can clear multiple lines at once, which can earn bonus points. It is possible to complete up to four lines simultaneously with the use of the I-shaped tetrimino, this move is called a "Tetris", and is the basis of the game's title.

Technology used : HTML5, CSS3, JavaScript, MySQL, PHP, Bootstrap

Login Page

mainpage

SignUp Page

signup

Main Page

Main Page

Playing Pieces

playing pieces

Game Play

gameplay

Help Page

Help page

About

Tetris Game with Score history, Leaderboard, Light and Dark Mode using PHP, JavaScript, HTML, Bootstrap, and MySQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published