Mahjong Solitaire - Play

Play

The 144 tiles are arranged in a special four-layer pattern with their faces upwards. A tile is said to be open or exposed if it can be moved either left or right without disturbing other tiles. The goal is to match open pairs of identical tiles and remove them from the board, exposing the tiles under them for play. The game is finished when all pairs of tiles have been removed from the board or when there are no exposed pairs remaining.

Tiles that are below other tiles cannot be seen. But by repeated undos and/or restarts which some programs offer, one gradually gets more and more information. Sometimes, tiles are only partially covered by other tiles, and the extent to which such tiles can be distinguished depends on the actual tile set. Playing Mahjong solitaire optimally in the sense to maximize the probability of removing all tiles is PSPACE-complete, and the game gets NP-complete when peeking below tiles is allowed. A sample of 10,000,000 games with the default layout, 'the turtle' (see right), which were analyzed in about 40 hours on a single processor thread, revealed that between 2.95 and 2.96 percent of the turtles cannot be solved even if peeking is allowed, but that is less than without peeking.

Read more about this topic:  Mahjong Solitaire

Famous quotes containing the word play:

    Let us not play at kittly-benders. There is a solid bottom everywhere.
    Henry David Thoreau (1817–1862)

    Work, as we usually think of it, is energy expended for a further end in view; play is energy expended for its own sake, as with children’s play, or as manifestation of the end or goal of work, as in “playing” chess or the piano. Play in this sense, then, is the fulfillment of work, the exhibition of what the work has been done for.
    Northrop Frye (1912–1991)

    In 1600 the specialization of games and pastimes did not extend beyond infancy; after the age of three or four it decreased and disappeared. From then on the child played the same games as the adult, either with other children or with adults. . . . Conversely, adults used to play games which today only children play.
    Philippe Ariés (20th century)