Jump to content

Klotski

From Wikipedia, the free encyclopedia
(Redirected from Daughter in the box)
In a Klotski puzzle, the largest block must be moved to the bottom middle location so that it can be slid over the border, without any of the other blocks being removed in this way.

Klotski (from Polish: klocki, lit.'wooden blocks') is a sliding block puzzle thought to have originated in the early 20th century. The name may refer to a specific layout of ten blocks, or in a more global sense to refer to a whole group of similar sliding-block puzzles where the aim is to move a specific block to some predefined location.

Rules

[edit]

Like other sliding-block puzzles, several different-sized block pieces are placed inside a box, which is normally 4×5 in size. Among the blocks, there is a special one (usually the largest) which must be moved to a special area designated by the game board. The player is not allowed to remove blocks, and may only slide blocks horizontally and vertically. Common goals are to solve the puzzle with a minimum number of moves or in a minimum amount of time.

Naming

[edit]
A screenshot of the "forget me not" level in the Windows Entertainment Pack version of the game

The earliest known reference of the name Klotski originates from the computer version for Windows 3.x by ZH Computer in 1991, which was also included in Microsoft Windows Entertainment Pack. The sliding puzzle had already been trademarked and sold under different names for decades, including Psychoteaze[1] Square Root,[2] Intreeg,[3] and Ego Buster. There was no known widely used name for the category of sliding puzzles described before Klotski appeared.

History

[edit]

It is still unknown which version of the puzzle is the original. There are many confusing and conflicting claims, and several countries claim to be the ultimate origin of this game. One game—lacking the 5 × 4 design of Pennant, Klotski, and Chinese models but a likely inspiration—is the 19th century 15-puzzle, where fifteen wooden squares had to be rearranged. It is suggested that unless a 19th-century Asian evidence is found, the most reasonably likely path of transmission is from the late 19th century square designs to the early 20th century rectangular, such as Pennant, thence to Klotski and Huarong Road.[citation needed]

United States

[edit]

The 15-puzzle enjoyed immense popularity in western countries during the late 19th century. Around this time, patents appeared for puzzles using differently shaped blocks. Henry Walton filed U.S. patent 516,035 in 1893 for a sliding puzzle of identically shaped rectangles. Frank E. Moss filed U.S. patent 668,386 in 1900 for a sliding puzzle of six squares and four rectangles, which is one of the first known occurrences of sliding puzzle with non-equal blocks. However, the early cognate of Klotski closest in design dates to 1909 in Chicago.[citation needed]

The layout of the Pennant Puzzle

Lewis W. Hardy obtained copyright for a game named Pennant Puzzle in 1909, manufactured by OK Novelty Co., Chicago.[4] The aim of this puzzle is identical to Klotski, and only its default blocks and arrangement are different. Hardy also filed U.S. patent 1,017,752 in 1907, which is about a sliding-block puzzle similar to Pennant Puzzle, but with a slightly different combination of blocks and a different goal—not only must the largest block be moved to a specific location, but all of the other blocks must achieve a specific configuration as well. The patent was granted in 1912.

England

[edit]

John Harold Fleming obtained patent for a puzzle in 1934 in England, with almost identical configuration as described in this page.[5] The puzzle concerned has the same blocks and almost identical placement as forget-me-not, only that the unique horizontal 2×1 block is placed at the bottom instead of beneath the 2×2 block. The patent included a 79-step solution.

China

[edit]
Huarong Dao

The Klotski puzzle—with its two-by-two and one-by-two cells and with the same 4 × 5 dimensions—also closely resembles the Chinese game known as Huarong Dao (Chinese: 华容道; Chinese: 華容道), also known as Huarong Pass or Huarong Road. Popular versions of Huarong Dao used cells with names or images of Han dynasty heroes and villains, based on a famous battle from the Yuan dynasty novel Romance of the Three Kingdoms.[6] The Chinese design, commonly using Chinese names for the heroes, villains, and soldiers, has clear inspiration from the Chinese version of chess, which problematizes the origins of the genre of sliding puzzles.

The first account of occurrence of Klotski in China is in Shaanxi Province, where Lin Dekuan from the Northwestern Polytechnical University noted that children in a village, a countryside in Chenggu county, were playing a version of Klotski made with pieces of paper in 1938.[7]

In 1943, the Huarong Dao was publicized by Liang Qing, a teacher in the New Fourth Route Army who learnt it from people living in northern Jiangsu province, among soldiers to enhance their cultural life.

One of the earliest books about standard Klotski was written by the Chinese professor Jiang Changying (姜长英) from the Northwestern Polytechnical University in 1949 in his book《科学消遣transl. Science Enterntainment》; Jiang Changying believed that the Huarong Dao was invented in the late 1930s and became popular during the late 1930s and early 1940s.[6] This book has been republished by Jiang Changying in 1997 as《科学思维锻炼与消遣transl. Scientific mindset training and pastime》(ISBN 7-5612-0971-1).[8] Jiang Changying also believed that the Huarong Dao was mostly likely introduced in Shanghai from the early 1940s from Northern Jiangsu province.

In 1956, the Huarong Dao appeared in math magazine where it was called "Guan Yu Releases Cao Cao"; some years later, it gained the revolutionary name of "Chase Away the Paper Tiger" when it was published in the Liaoning Pictorial of 1959.

The plastic versions of the Huarong Dao manufactured in the 1960s by the Shanghai No. 14 Toy Factory and Shanghai Changchun Plastic Factory made plastic version were named "Parking the Boats".

In the 1980s, an association was created by Huarong Dao enthusiasts; Huarong Dao enthusiasts also organized competitions in Beijing, Shanghai, and Northeast China.

Solving

[edit]

The minimum number of moves for the original puzzle is 81, which is verified by computer to be the absolute minimum for the default starting layout, if you consider sliding a single piece to any reachable position to be a single move.

The first published 81-step solution is by Martin Gardner, in the February 1964 issue of Scientific American. In the article he discussed the following puzzles (with Edward Hordern classification code in parentheses): Pennant Puzzle (C19), L'Âne Rouge (C27d), Line Up the Quinties (C4), Ma's Puzzle (D1) and a form of Stotts' Baby Tiger Puzzle (F10).

For earliest published solutions (not optimal solution), currently known is from Chinese educator Xǔ Chún Fǎng, in his book 數學漫談. (translation: Mathematics Tidbits; Kāi Mínɡ Shū Diàn, March 1952) His solution involves 100 steps.

The current Guinness World Record for the Fastest time to Solve a 4x5 Klotski puzzle is 3.99 seconds, achieved by Lim Kai Yi, a speedsolver from Malaysia on June 13, 2024.

Variations

[edit]

There are several variations of this game, some with names specific to the culture of certain countries, some with different arrangement of blocks. It is still unknown whether these variations affected each other and how. The following variations basically have the same layout and block arrangement, varying only in name (human, animal, or others), usually with some sort of story behind the names. It is completely unknown whether they share the same origin, though this is highly possible as they are identical to each other.

Huarong Dao

[edit]
The Chinese wooden game Huarong Dao, thought to date from the 1930s, follows the same pattern as Klotski.

Huarong Dao (Chinese: 华容道; Chinese: 華容道, alternatively named Huarong Pass or Huarong Trail) is the Chinese variation, which shows unique Chinese characteristics, by basing itself on one of Four Great Classical Novels novel, Romance of the Three Kingdoms, about the warlord Cao Cao retreating through the Huarong Trail (present-day Jianli County, Jingzhou, Hubei) after his defeat at the Battle of Red Cliffs in the winter of 208/209 CE during the late Eastern Han dynasty. He encountered an enemy general, Guan Yu, who was guarding the path and waiting for him. Guan Yu spared Cao Cao and allowed the latter to pass through Huarong Trail on account of the generous treatment he received from Cao in the past. The largest block in the game is named "Cao Cao".

Daughter in the box

[edit]
Japanese version
A Daughter in the Box (箱入り娘) board
Japanese variants with shogi pieces

The Daughter in the Box (Japanese name: hakoiri musume 箱入り娘) wood puzzle depicts an "innocent young girl, who knows nothing of the world" trapped in a building. The largest piece is named "daughter", and other blocks are given names of other family members (like father, mother and so on).

Another Japanese variation uses the names of shogi pieces.

L'âne rouge

[edit]

In France, it is well known as L'âne rouge. It features a red donkey (the largest piece) trying to escape a maze of fences and pens to get to its carrots.[2] However, there is no known and documented record of its first existence in France.

Khun Chang Khun Phaen

[edit]

This is a variation from Thailand. Khun Phaen is a famous character in Thai legend, and the game is named after the epic poem Khun Chang Khun Phaen, in which the character is imprisoned. The game depicts Khun Phaen breaking out of the prison by overcoming its nine sentries.[9]

There is a slight difference between Khun Chang Khun Phaen and the standard layout—the two middle 1×1 blocks are moved to bottom. Other than that, all other blocks are the same. The origin of this variation is unknown.

Other block arrangements

[edit]

In this context, the "basic" arrangement is assumed to be a 4×5 area laid out as follows:-

  • In the left-hand column, two 1×2 blocks with a 1×1 block beneath.
  • In the right-hand column, two 1×2 blocks with a 1×1 block beneath.
  • In the middle two columns, a 2×2 block at the top, with a horizontal 2×1 block beneath it, two 1×1 blocks beneath that, leaving a 2×1 empty space at the bottom.

This is used globally as the "basic" game of Klotski. It is coded C27d in Hordern classification of sliding puzzle games.[10]: 81 

Pennant Puzzle

[edit]

Coded as C19 in Hordern classification,[10]: 78  it is first copyrighted in 1909 by Lewis. W. Hardy in United States. Standard Trailer Co. has it copyrighted under the name Dad's Puzzler in 1926 (also in US). Its arrangement is different:

  1. The default location of all blocks are different from Klotski. For example, the largest square block is in upper left corner.
  2. It is in 4×5 area, with one 2×2, two 1×2, four 2×1, two 1×1 pieces.
  3. The exit of block is not at the bottom middle, but bottom left.

Other than these, the game rules are the same as Klotski. The minimum number of moves to solve the puzzle is 59.

Ma's Puzzle

[edit]

Ma's Puzzle is copyrighted by Standard Trailer Co. at 1927. It was the first sliding puzzle to use non-rectangular shape. Its goal is to join its 2 L-shaped pieces together, either anywhere or top right corner of the board.

Computerized version

[edit]

An early graphical computer version was created by Jim Bates in 1988.[11] In 1991, Klotski was included in the third Microsoft Windows Entertainment Pack. Many versions of Klotski followed, either freely or commercially available. For example, one is included in the GNOME desktop environment. Some include blocks which have special effects.

In video games

[edit]

The puzzle is also found in the 1995 Super Nintendo Entertainment System game Lufia II: Rise of the Sinistrals. In a cave on Dragon Mountain, the player is told "The world's most difficult trick is beyond this point." A few floors down, the player is faced with the sliding block puzzle. The central block contains four chests with powerful items: Mega shield, Holy Robe, Legend helm, and Lizard blow.

See also

[edit]

Notes and references

[edit]
  1. ^ Catalog of Copyright Entries. Third Series: 1969: January-June - Library of Congress. Copyright Office - Google 圖書. 1972. Retrieved 18 April 2013.
  2. ^ a b "30+ Years Ago". Home.comcast.net. 27 March 1928. Archived from the original on 28 December 2012. Retrieved 18 April 2013.
  3. ^ "Rob's Puzzle Page - Sliding Block Puzzles". Home.comcast.net. 16 March 1915. Archived from the original on 20 December 2012. Retrieved 18 April 2013.
  4. ^ Enlisted in Section 5.A.1 of Singmaster, David (2004). Sources in Recreational Mathematics - An Annotated Bibliography (8th Preliminary ed.). South Bank University. (Available online at the Puzzle Museum)
  5. ^ GB patent 411515, "An improved puzzle, and means therefor", issued 1934-06-07, assigned to John Harold Fleming 
  6. ^ a b Zhang, Wei; Rasmussen, Peter. "Huarong Pass Sliding Block Puzzle". Chinese Puzzles. Retrieved 12 July 2021.
  7. ^ Wú Hè Líng (2004). 七巧板、九连环和华容道. ISBN 9787030139856. (translation: Tangram, Baguenaudier and Klotski)
  8. ^ Jiang, Changying; 姜长英 (1997). Ke xue si wei duan lian yu xiao qian (Di 1 ban ed.). Xi an: Xi bei gong ye da xue chu ban she. ISBN 7-5612-0971-1. OCLC 769132474.
  9. ^ "Mathematics Enrichment :: Khun Phaen Escapes to Freedom". nrich.maths.org. Retrieved 18 April 2013.
  10. ^ a b Hordern, Edward (1986). Sliding Piece Puzzles. OUP. ISBN 0-19-853204-0.
  11. ^ "MS-DOS Shareware: PRISONER".
[edit]