Tetris Tetris

Tetris - Definition

Tetris on the
Enlarge
Tetris on the Nintendo Game Boy

Tetris is a video game invented by Alexey Pajitnov while he was working for the Academy of Sciences in Moscow, inspired by a pentominoes game he had purchased earlier.

Contents

The game

Tetrominoes or tetrads, shapes composed of 4 blocks each, are falling down the screen, and one has to direct them so they will fit to the wall on the bottom. When a line of blocks has no gaps, it is complete and disappears.

The maximum number of lines that can be completed simultaneously is 4, since at least one block is required per line. This can only be achieved with the "I" tetromino: doing this is known as a "tetris".

In order to master the game, the technique of sliding a piece just before it sets is invaluable, as well as using both rotation buttons, when available.

Impact

A massively popular game, Tetris or a clone thereof has appeared on nearly every games machine available. It has even appeared as part of an art exhibition on the side of a building [1] (http://bastilleweb.techhouse.org/). Its most popular port has been to the Game Boy, considered by some the one true form of the game. Tetris remains one of the best-known computer games ever.

Gravity

Original algorithm
Original algorithm

When a row of blocks is cleared and removed, the stacks of blocks above it fall. Many versions of Tetris simply move blocks down by a distance exactly equal to the height of the cleared rows below them. This results in behavior unlike real-world gravity, in that blocks may be left "floating in mid-air". Many feel that this behavior, called "naïve gravity", contributes to the gameplay rather than detracting from it.

Some newer variants implement a different algorithm that uses a flood fill to segment the playfield into connected regions and then makes each region fall individually, in parallel, until it touches the region at the bottom of the playfield. This opens up additional "chain-reaction" tactics involving blocks falling to fill additional lines, which those games tend to reward with a higher score.

Algorithm with chain reactions
Algorithm with chain reactions

Is it possible to play forever?

Normally, players lose because:

  • they can no longer keep up with the increasing speed, or
  • a specific implementation of the game with not very responsive control fails to keep up with itself when the pieces' downward velocity exceeds the maximum sideways velocity the player can apply to a piece. (Avid players consider this situation a design flaw.)

But what if the speed did not increase? Would it be possible to play forever?

An article has been published that addresses this issue, and it turns out that in theory, you are doomed to lose eventually.

The problem is the S- and Z-shaped pieces. Suppose you got a large sequence of S-shaped pieces of the same orientation. Eventually, many implementations' approximation of gravity (see above) forces the player to leave a hole in a corner.

Suppose you then get a large sequence of identical Z-shaped pieces. Eventually, you'll be forced to leave a hole in the opposite corner, without clearing your previous hole. Now, things go back to the original orientation for a while and so on until the pieces stack up to the top. Since the pieces are distributed randomly, this sequence will, eventually, occur. So, if you play long enough, and your random number generator is theoretically perfect, you will lose the game. (See also a more detailed discussion of this issue at http://www.geom.umn.edu/java/tetris/explanation.html, along with an implementation written in Java that has been modified to deal only S- and Z-shaped pieces.)

Practically, this does not occur because the pseudorandom number generator in most implementations, which is usually a linear congruential generator, does not deal such a sequence.

Even on an implementation with a theoretically perfect random number generator (for example, based on hashing Brownian motion) and with naïve gravity, a good player can survive over 150 consecutive pieces that are all S-shaped or Z-shaped; the probability at any given time of the next 150 pieces being only S- and Z-shaped pieces equals one in (7/2)150 (approximately one in 4 × 1081). This number has the same order of magnitude as the number of atoms in the known universe.[2] (http://pages.prodigy.net/jhonig/bignum/qauniver.html)

Several of the subproblems of Tetris have been shown to be NP-complete.

History and legal issues

Tetris has been embroiled in a strangely large number of legal battles since its inception. In June 1985, Alexey Pajitnov created Tetris on an Electronica 60 while working for the Academy of Sciences in Moscow. He created it at their Computer Center, and Vadim Gerasimov ported it to the IBM PC.

From there, the game exploded into popularity, and began spreading all around Moscow. (This version was available on Vadim Gerasimov's web site at http://vadim.www.media.mit.edu/Tetris.htm, but the Tetris Company used the DMCA to force Gerasimov to remove it.)

The IBM PC version eventually made its way to Budapest, Hungary, where it was ported to various platforms and was "discovered" by a British software house named Andromeda. They attempted to contact Pajitnov to secure the rights for the PC version, but before the deal was firmly settled, they had already sold the rights to Spectrum Holobyte. After failing to settle the deal with Pajitnov, Andromeda attempted to license it from the Hungarian programmers instead.

Meanwhile, before any legal rights were settled, the Spectrum Holobyte IBM PC version of Tetris was released in the United States in 1986. The game's popularity was tremendous, and many players were instantly hooked—it was a software blockbuster.

The details of the licensing issues were uncertain by this point, but in 1987 Andromeda managed to obtain copyright licensing for the IBM PC version and any other home computer system.

By 1988, the Soviet government began to market the rights to Tetris through an organization called Elektronorgtechnica, or "Elorg" for short. By this time Elorg and Pajitnov had still seen no money from Andromeda, and yet Andromeda was licensing and sub-licensing rights that they themselves didn't even have.

By 1989, half a dozen different companies claimed rights to create and distribute the Tetris software for home computers, game consoles, and handheld systems. Elorg, meanwhile, held that none of the companies were legally entitled to produce an arcade version, and promptly signed those rights over to Atari Games, while it signed console and handheld rights over to Nintendo.

Tengen (the console software division of Atari Games), regardless, applied for copyright for their tetramino game for the Nintendo Entertainment System, loosely based on the arcade version, and proceeded to market and distribute it under the name TETЯIS (with faux Cyrillic typography incorporating the Cyrillic letter Ya), disrespecting both Nintendo's and Elorg's rights to the name. Many people think that the Tengen version is a more playable port than the Nintendo version.

After only a few (very popular) months on the shelf, the courts ruled that Nintendo had the rights to Tetris on home game systems, and Tengen's TETЯIS game was recalled, having sold only about 50,000 copies.

Nintendo released their version of Tetris for both the Famicom and the Game Boy (oddly though, the Game Boy version was developed by Bullet-Proof Software, Inc., despite Nintendo's license to the game) and sold more than three million copies; most players considered Nintendo's NES version inferior because it lacked the side-by-side simultaneous play of Tengen's version, but Nintendo's Game Boy Tetris became arguably the most well-known version of Tetris. The lawsuits between Tengen and Nintendo over the Famicom/NES version carried on until 1993.

Alexey Pajitnov himself made very little money from the deal, however, even though Nintendo was able to profit from the game handsomely.

In 1996, he and Henk Rogers formed The Tetris Company LLC and Blue Planet Software in an effort to get royalties from the Tetris brand, with good success on game consoles but very little on the PC front. Tetris is a registered trademark of The Tetris Company LLC ("TTC"). TTC has licensed the Tetris mark to a number of companies, but the legality of tetramino games that do not use the Tetris name has not been decided in court.

According to circulars available from the United States Library of Congress, a game cannot be copyrighted (only patented), which refutes much of TTC's copyright claims on the game, leaving the trademark on "Tetris" as TTC's most significant claim on any government-granted monopoly.

TTC no longer seems to pursue "clones" of the game under such names as:

that do not appear confusingly similar to Tetris.

Tetris variants

The New Tetris, for the Nintendo 64 game console, is Tetris with a new feature: when a 16-block (4 by 4) square is made, the tetrominos used to form the square are merged as 16-block squares. A square formed using different types of tetrominos is called a combo square or multisquare, and it appears silver. A square formed using four of the same piece is called a pure square or monosquare, and it appears gold. All pieces but the S and Z can form monosquares.

Tetrisphere, for the Nintendo 64 game console, uses the same tetrominoes with a slightly different gameplay than standard Tetris. The object of the game is to reveal the core in the center of the sphere (which is actually a torus as seen through a fisheye perspective). To achieve this, you need to stack similarly-shaped pieces on top of each other. Once three are stacked, the pieces disappear and reveal the layer below. Wild card pieces, power-ups and a limited ability to slide pieces over the surface of the sphere all help with this task.

Tetris Worlds (website (http://www.thq.com/tetrisworlds/main.asp)) includes Tetris, Square Tetris, and four other variants.

Gravytris (website (http://www.gravytris.tk)) is a freeware implementation of Tetris in OpenGL that implements the "chain-reaction" variant of gravity.

California Dreams released a Tetris variant called Blockout in 1989. It is played in three dimensions from a top-down perspective. The basic mode uses standard tetrominos, which can be manipulated with three different degrees of rotation, in two directions (requiring six separate keys for rotating, in addition to the four movement keys and a key to drop a tetromino). Further modes in the game introduce extra dominos composed of blocks set above and below each other, and may have more or less than four blocks.

Tetris Blast differs from conventional Tetris in that it features bomb blocks that cause explosions that wipe out additional pieces, and are necessary creatures that traverse the constantly changing 'terrain' of the play field.

TetriNET, a popular variant playable on Internet with up to 6 players. On clearing lines the player receives special blocks that can be used to damage the field of the opponent or help a teammate. Like the Game Boy version, clearing two or more lines adds lines to the opponents.

See also

External links


Tetris - Example Usage

otreborsys: RT @Una_fuente: Estudiantes convierten edificio del MIT en juego de Tetris [VIDEO] http://t.co/Qf7cA0eN
lenggables: eh wala na kong energy sa tetris. fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sweetcooley: Llega un momento en el que te das cuenta de que la vida es como un puñetero tetris, lo bien hecho desaparece y los fallos quedan ahí.
crimsonthreads: @xxloverxx WHAT WHY IS IT DOWN OMG NOOOOOO MY TETRIS. /overreacts
eunkyung17: Tetris mode ulit
Copyright 2010 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.