Giter VIP home page Giter VIP logo

tetris-the-game's Introduction

Tetris-The-Game

Hello everyone, I am Kanak Negi and this is my project which I have created just for free play.

Industry: LifeStyle

Project Title: Tetris-The-Game

Project Description: Tetris is a game based on tetromino, which is a shape constructed with four (tetra) squares. There are seven unique arrangements of four bricks. By unique we mean that even with limitless rotation you cannot bring one unique shape to resemble another unique shape.

In the game of Tetris, each of these shapes has a different color. Historically, there is no color ''standard'' color scheme. Infact, the very first game had all bricks the same color.

The game board is a grid, some times referred to as the well or the matrix. During the game, tetris shapes appear in random order at the top of the well and fall towards the bottom of the well. During their fall, the player is allowed to rotate the shape by 90 degrees each click. The player can also move the shape right or left. After each shape in as low as it can fall, it will freeze into place and a new shape will appear and being falling.

The object of the game is to arrange the pieces at the bottom of the well such that no empty spaces occur. When a row across the well has been filled with sections of a shape, this row will disappear with all pieces above is dropping to occupy the vacated row. The player is scored 50 points for each single row that is cleared like this.

There is a button provided that allows the player to increase the speed of the falling shapes. For each increament of speed increase, the score for each combination of rows being cleared up.

Controls:

  1. ''A'' - Move Left
  2. ''D'' - Move Right
  3. ''Q'' - Rotate Anticlockwise
  4. ''E'' - Rotate Clockwise
  5. ''S'' - Drop
  6. ''P'' - Pause / Resume
  7. ''ENTER'' - Start

Technologies Used: Java Swing and Applet

Thank You!

tetris-the-game's People

Contributors

kanak0510 avatar

Stargazers

 avatar  avatar  avatar  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.