Shanghai Solitaire
   HOME

TheInfoList



OR:

Mahjong solitaire (also known as Shanghai solitaire, electronic or computerized mahjong, solitaire mahjong or simply mahjong) is a
single-player A single-player video game is a video game where input from only one player is expected throughout the gameplay. Video games in general can feature several game modes, including single-player modes designed to be played by a single player in add ...
matching game Matching games are games that require players to match similar elements. Participants need to find a match for a word, picture, tile or card. For example, students place 30 word cards; composed of 15 pairs, face down in random order. Each person tu ...
that uses a set of
mahjong tiles Mahjong tiles () are tiles of Chinese origin that are used to play mahjong as well as mahjong solitaire and other games. Although they are most commonly tiles, they may refer to playing cards with similar contents as well. Development The ...
rather than
cards {{Redirect, CARDS, other uses, Cards (disambiguation){{!Cards The CARDS programme, of Community Assistance for Reconstruction, Development and Stabilisation, is the EU's main instrument of financial assistance to the Western Balkans, covering spec ...
. It is more commonly played on a computer than as a tabletop game, although it can be played using physical tiles using a special wooden frame for its lengthy set-up process. Although named after the four-player tile game
mahjong Mahjong (English pronunciation: ; also transliterated as mah jongg, mah-jongg, and mahjongg) is a tile-based game that was developed in the 19th century in China and has spread throughout the world since the early 20th century. It is played ...
, the method of gameplay is unrelated.


Play

The 144 tiles are arranged in a 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 won when all pairs of tiles have been removed from the board, and lost if the remaining tiles contain no exposed pairs.


Mathematical analysis

Playing Mahjong solitaire optimally in the sense to maximize the probability of removing all tiles is
PSPACE-complete In computational complexity theory, a decision problem is PSPACE-complete if it can be solved using an amount of memory that is polynomial in the input length (PSPACE, polynomial space) and if every other problem that can be solved in polynomial sp ...
, and the game is
NP-complete In computational complexity theory, NP-complete problems are the hardest of the problems to which ''solutions'' can be verified ''quickly''. Somewhat more precisely, a problem is NP-complete when: # It is a decision problem, meaning that for any ...
if looking below tiles is allowed. It has been proven that it is PSPACE-hard to
approximate An approximation is anything that is intentionally similar but not exactly equal to something else. Etymology and usage The word ''approximation'' is derived from Latin ''approximatus'', from ''proximus'' meaning ''very near'' and the prefix ...
the maximum probability of removing all tiles within a factor of n^\epsilon, assuming that there are arbitrarily many quadruples of matching tiles and that the hidden tiles are uniformly distributed. The perfect-information version of this puzzle is where the player knows, before the game starts, the position of every tile. In this case, however, it is NP-complete to decide whether all tiles can be removed. An analysis of ten million games with the default layout, "the
turtle Turtles are reptiles of the order (biology), order Testudines, characterized by a special turtle shell, shell developed mainly from their ribs. Modern turtles are divided into two major groups, the Pleurodira (side necked turtles) and Crypt ...
", found that about 3 percent of the turtles cannot be solved even when looking below tiles is allowed.


Computer game history

The computer game was originally created by Brodie Lockard in 1981 on the
PLATO system PLATO (Programmed Logic for Automatic Teaching Operations), also known as Project Plato and Project PLATO, was the first generalized computer-assisted instruction system. Starting in 1960, it ran on the University of Illinois's ILLIAC I compu ...
and named ''Mah-Jongg'' after the game that uses the same tiles for play. Lockard claimed that it was based on a centuries-old Chinese game called "the Turtle". The computer game was released for free and was played using a CDC-721 touch screen terminal.
Activision Activision Publishing, Inc. is an American video game publisher based in Santa Monica, California. It serves as the publishing business for its parent company, Activision Blizzard, and consists of several subsidiary studios. Activision is one o ...
released ''
Shanghai Shanghai, Shanghainese: , Standard Chinese pronunciation: is a direct-administered municipality and the most populous urban area in China. The city is located on the Chinese shoreline on the southern estuary of the Yangtze River, with the ...
'' in 1986 for the
IBM Personal Computer The IBM Personal Computer (model 5150, commonly known as the IBM PC) is the first microcomputer released in the IBM PC model line and the basis for the IBM PC compatible ''de facto'' standard. Released on August 12, 1981, it was created by a ...
,
Commodore Amiga Amiga is a family of personal computers produced by Commodore from 1985 until the company's bankruptcy in 1994, with production by others afterward. The original model is one of a number of mid-1980s computers with 16-bit or 16/32-bit processo ...
,
Macintosh Mac is a brand of personal computers designed and marketed by Apple Inc., Apple since 1984. The name is short for Macintosh (its official name until 1999), a reference to the McIntosh (apple), McIntosh apple. The current product lineup inclu ...
,
Atari ST Atari ST is a line of personal computers from Atari Corporation and the successor to the company's Atari 8-bit computers, 8-bit computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available i ...
and
Apple IIgs The Apple IIGS (styled as II) is a 16-bit personal computer produced by Apple Inc., Apple Computer beginning in September 1986. It is the fifth and most powerful model of the Apple II family. The "GS" in the name stands for "Graphics and Sound" ...
. The Macintosh version was created by Brodie Lockard, and the Apple IIGS version was ported from the Macintosh by Ivan Manley with Brad Fregger as the producer. Around 10 million copies were sold. The game has since been
ported In software engineering, porting is the process of adapting software for the purpose of achieving some form of execution in a computing environment that is different from the one that a given program (meant for such execution) was originally desig ...
to many different platforms. The name "Shanghai" was
trademark A trademark (also written trade mark or trade-mark) is a form of intellectual property that consists of a word, phrase, symbol, design, or a combination that identifies a Good (economics and accounting), product or Service (economics), service f ...
ed by Activision. As the game is based on mahjong tiles, some confusion arose with the 4-player
mahjong Mahjong (English pronunciation: ; also transliterated as mah jongg, mah-jongg, and mahjongg) is a tile-based game that was developed in the 19th century in China and has spread throughout the world since the early 20th century. It is played ...
game. Although the name ''mahjong solitaire'' is widely used, other names include ''The Turtle'', ''Shanghai Solitaire,'' ''Taipei'', and ''Kyodai''. A version of this game was also included in the
Microsoft Entertainment Pack ''Microsoft Entertainment Pack'', also known as ''Windows Entertainment Pack'' or simply ''WEP'', is a collection of 16-bit casual computer games for Windows. There were four Entertainment Packs released between 1990 and 1992. These games wer ...
for Windows 3.x in 1990 under the name ''Taipei''. It was subsequently included in the ''
Best of Windows Entertainment Pack ''Microsoft Entertainment Pack'', also known as ''Windows Entertainment Pack'' or simply ''WEP'', is a collection of 16-bit casual computer games for Windows. There were four Entertainment Packs released between 1990 and 1992. These games wer ...
''. Premium editions of the
Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, released five years earlier, which was then the longest time span between successive releases of Microsoft W ...
operating system An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs. Time-sharing operating systems scheduler (computing), schedule tasks for ...
and
Windows 7 Windows 7 is a major release of the Windows NT operating system developed by Microsoft. It was Software release life cycle#Release to manufacturing (RTM), released to manufacturing on July 22, 2009, and became generally available on October 22, ...
include a version of the game known as ''
Mahjong Titans ''Microsoft Mahjong'' (formerly ''Mahjong Titans'', ''Shanghai Solitaire'' and ''Taipei'') is a computer game version of mahjong solitaire published by Microsoft. The version titled ''Mahjong Titans'' was developed by Oberon Games and included ...
''. Mahjong solitaire was adapted into several
puzzle video game Puzzle video games make up a broad genre of video games that emphasize puzzle solving. The types of puzzles can test problem-solving skills, including logic, pattern recognition, Sequence, sequence solving, Spatial ability, spatial recognition, ...
s such as ''Mahjong Trails'', listed as one of the top-grossing games on
Facebook Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
. Mahjong Solitaire was added to Clubhouse Games: 51 Worldwide Classics for
Nintendo Switch The is a video game console developed by Nintendo and released worldwide in most regions on March 3, 2017. Released in the middle of the Eighth generation of video game consoles, eighth generation of home consoles, the Switch succeeded the ...
. It includes a two-player version.


Variations

Mahjong solitaire is usually played in an electronic form as a
computer game A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, controller, keyboard, or motion sensing device) to generate visual feedback from a display device, mo ...
. Some electronic Mahjong solitaire games offer extra options, such as: # Shuffling the tiles; # Changing the tile set and patterns from the traditional tiles to flowers, jewels or other items that may be easier to match up at a glance; # Playing a series of different layouts with varying levels of difficulty (usually given Chinese-looking names such as 'the ox' or 'the
snake Snakes are elongated limbless reptiles of the suborder Serpentes (). Cladistically squamates, snakes are ectothermic, amniote vertebrates covered in overlapping scales much like other members of the group. Many species of snakes have s ...
'); # Adding "wildcard tiles" and other tiles that have special functions. # Adding more pairs, so larger layouts can be made. Sometimes they are new symbols, and sometimes they are extras of normal ones. # Adding a time limit based on the number of tiles in the initial layout. Mahjong solitaire can be played either solo or with a partner, in which case the aim is to accumulate the most pairs, to be the last one to match a pair, or to score the most points. Points are gained for each pair removed, with bonus points for removing matched pairs in sequence or removing pairs in sequence that are parts of sets. Using traditional mahjong tiles, the sets include the dragons, the flowers, the seasons, and the winds. Some implementations offer to shuffle the tiles when there are no exposed pairs remaining, making it almost always possible for the player to complete the game. Many implementations offer undo, and nearly all versions will not generate a board that can't be won even with undo.


See also

* Shisen-Sho, another solitaire game with Mahjong tiles * Crazy Quilt (solitaire), a solitaire card game where cards are removed from the edges of a grid * Other
Solitaire Solitaire may refer to: Film and television *'' Le Solitaire'', a 1987 French film * ''Solitaire'' (1991 film), a Canadian drama film * ''Solitaire'' (2008 film), a drama film *''Solitaire'', 2016 Lebanese comedy film with Bassam Kousa *"Solit ...
games, especially
Patience or forbearance, is the ability to endure difficult or undesired long-term circumstances. Patience involves perseverance or tolerance in the face of delay, provocation, or stress without responding negatively, such as reacting with disrespect ...
, or solitaire with cards *
Tile-matching video game A tile-matching video game is a type of puzzle video game where the player manipulates tiles in order to make them disappear according to a matching criterion. In many tile-matching games, that criterion is to place a given number of tiles of the ...
*
Solitaire Solitaire may refer to: Film and television *'' Le Solitaire'', a 1987 French film * ''Solitaire'' (1991 film), a Canadian drama film * ''Solitaire'' (2008 film), a drama film *''Solitaire'', 2016 Lebanese comedy film with Bassam Kousa *"Solit ...
*
Klondike (solitaire) Klondike is a card game for one player and the best known and most popular version of the patience or solitaire family, as well as one of the most challenging in widespread play.Parlett (1979), pp. 94–95. It has spawned numerous variants includin ...
*


References

{{reflist Activision games Mahjong Microsoft Entertainment Pack Microsoft games Puzzle video games Tabletop tile games Double-deck patience card games NP-complete problems