Motivation • Installation • How to Play • Contribute • Credits • License
Tetris is a video, computer, and even board game, which Alexey Pajitnov invented, designed and programmed. It was created on June 6, 1984. He has mentioned that the classic Roman pentomino puzzle has helped inspired the game. The original Tetris game was published in 1985 for various systems.
Tetrominoes fall from above one at a time. In Tetris, a player positions falling Tetrominoes so that they fill up an entire Line. The player must sort them such that he or she forms continuous horizontal line clears, which will then clear, and the above tetrominoes will fall. Frequently, clearing multiple lines simultaneously will benefit the player. For example, clearing four such lines yield a tetris. As the game progresses, the tetrominoes fall faster, making things more difficult.
The goal is to get a very high Score. The player add to their score by positioning blocks faster with Hard Drops and Soft Drops, clearing lines, especially many lines at once, clearing the entire screen, and doing maneuvers requiring great timing. He can rotate and move tetrominoes, but he cannot convert one tetromino to another. The game ends when the tetrominoes reach the top of the screen
Prerequisites: You must have Git installed on your console and also QtCreator
-
On GitHub, go to the main page of the repository.
-
Under the name of the repository, click Clone or download.
-
In the Clone with HTTPs section, click to copy the repository cloning URL.
-
Open Git Bash.
-
Change the current working directory to the location where you want the cloned directory to be made.
-
Type 'git clone', and then paste the URL that you copied in Step 2.
$ git clone https://github.com/angelortizv/Tetris.git
-
Press Enter. Your local clone will be created for Tetris.
-
Open QtCreator, select:
File
->Open File or Project
and go to the location where you cloned the project. -
Click on
Tetris.pro
to open the project.
This Tetris clone can be control using:
- The arrows ← / → to move the tetrominoes across the window.
- The arrow ↑ to change the tetrominoes direction.
- The arrow ↓ to put down the tetrominoes.
- Use SPACE to rotate the tetrominoes to fit holes.
- Angelo Ortiz Vega - developer - angelortizv
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details