Coder Social home page Coder Social logo

daniyalfarooque / tetris Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 660 KB

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

CSS 16.12% PHP 10.06% JavaScript 73.82%
php mysql bootstrap html-canvas-game

tetris's Introduction

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

tetris's People

Contributors

daniyalfarooque avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tetris's Issues

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.