The Turk

The Turk, also known as the Mechanical Turk or Automaton Chess Player was a trick chess-playing machine. First put on show in 1770, the machine was in use until it was destroyed in a fire in 1854. It was later found to be a hoax. It was built in 1770 by Wolfgang von Kempelen to impress the Empress Maria Theresa of Austria. The machine could play chess against a human. It could also perform the knight's tour, a puzzle where a player moves a knight to every square of a chessboard exactly once.
The Turk was not a real machine, but a mechanical illusion. There was a person inside the machine working the controls. With a skilled chess player hidden inside the box, the Turk won most of the games. It played and won games against many people including Napoleon Bonaparte and Benjamin Franklin. The chess players who secretly worked inside the box included Johann Allgaier, Hyacinthe Henri Boncourt, Aaron Alexandre, William Lewis, Jacques Mouret, and William Schlumberger.
How the Turk was made
The machine had a life-sized model of a human head and body, placed next to a large wooden box. The model was dressed in Ottoman robes and wore a turban. Its left arm held a long smoking pipe. The large box was about three-and-a-half feet (110 cm) long, two feet (60 cm) wide, and two-and-a-half feet (75 cm) high. On the top of the box was a chessboard, about 18 inches square. The front of the box had three doors, an opening, and a drawer. Inside the drawer was a red and white ivory chess set.
The inside of the box was very complicated. It was meant to trick those who looked into it. When the left front doors were opened you could see clockwork gears and cogs. If the back doors of the box were open at the same time you could see through the machine. The other side of the box contained a red cushion and some removable parts. This area also gave a clear view through the machine. Under the robes of the Turk were two more doors. When these were opened you could also see the clockwork parts with a view right through the machine. The design allowed the presenter of the machine to open every door to the public, to keep the illusion.
However the clockwork parts on the left side and the drawer did not go back as far as the back of the box. They only went one third of the way. This gave room for a sliding seat, so the person inside was able to slide from place to place. This meant they were not seen when the doors were opened. Moving the seat caused fake machinery to slide into its place to further hide the person inside the box.
The chessboard on the top of the box was thin. This allowed for a magnetic linkage. Each piece in the chess set had a small, strong magnet joined to its base. When placed on the board the pieces would attract a magnet attached to a string under their places on the board. The person inside the machine could see which pieces moved where on the chess board. The bottom of the chessboard was also numbered, 1-64, allowing the person to see which places on the board were affected by a player's move. The magnets were placed so that they were not affected by any magnets outside the box. Kempelen would let people from the audience put a large magnet next to the board to show that the machine was not influenced by magnetism.
To distract the audience, the Turk came with a small wooden box. This would be put on the top of the box. Kempelen would look into into the small box during play, suggesting that it controlled the machine. The box was believed by some to have magic powers.
Inside the box was a chess board connected to a series of levers. These controlled the model's left arm and could move it around the chess board. The arm could be moved up and down, and turning the lever would open and close the Turk's hand. This let it pick up the chess pieces on the board. The machinery made a clockwork-type sound when the Turk made a move, further adding to the machinery illusion. The levers also made the Turk make various facial expressions. A voice box was added later, allowing the machine to say "Echec!" (French for "check") during matches.
The person inside and the presenter on the outside could send messages to each other. There were two brass discs with numbers on the inside and outside of the box. The discs could be turned to a number which acted as a code between the two.
Exhibition
The first display of the Turk was in 1770 at Schonbrunn Palace. Kempelen showed everyone what he had built. He opened the doors and drawers of the cabinet, so the audience could look into the machine. It was then ready for a game.
The Turk would use the white pieces and have the first move. Between moves its left arm sat on a cushion. The Turk could nod twice if it threatened the other player's queen, and three times upon placing the king in check. If the other player made an illegal move, the Turk would shake its head, move the piece back. The first person to play against the Turk was Count Ludwig von Cobenzl, an Austrian courtier at the palace. He was quickly defeated.
Another part of the show was the knight's tour, a famed chess puzzle. The puzzle requires the player to move a knight around a chessboard, touching each square once along the way. While most experienced chess players of the time still struggled with the puzzle, the Turk was able to make the moves easily. The person inside had a map of moves needed.
The Turk could also communicate with the audience using a letter board. It was able to do this in English, French, and German. Carl Friedrich Hindenburg, a university mathematician, wrote down the conversations during the Turk's time in Leipzig and published it in 1789 as Uber den Schachspieler des Herrn von Kempelen und dessen Nachbildung (or On the Chessplayer of Mr. von Kempelen And Its Replica). Questions included the Turk's age, marital status, and its secret workings.
Tour of Europe
Interest in the machine grew across Europe. Kempelen, however, was more interested in his other projects and did not want to show the Turk. He would tell people it was not working. After the performances at the Schonbrunn Palace the Turk only played Sir Robert Murray Keith, a Scottish noble. Kempelen took the machine to pieces after the match. Kempelen said the machine was a "mere bagatelle". He was not pleased with its popularity and would rather continue his work on steam engines and machines that could speak.
In 1781, Kempelen was ordered by Emperor Joseph II to rebuild the Turk and take it to Vienna for a state visit from Grand Duke Paul of Russia. This was so successful that Grand Duke Paul suggested a tour of Europe for the Turk. Kempelen reluctantly agreed.
The tour began in 1783, beginning in France. In Paris, the Turk lost a match to Charles Godefroy de La Tour d'Auvergne, the Duc de Bouillon. People wanted the Turk to play a game with Francois-Andre Danican Philidor, the best chess player of his time. Philidor won, but it was "his most fatiguing game of chess ever!" The Turk's final game in Paris was against Benjamin Franklin, the United State's ambassador to France. Franklin enjoyed the game with the Turk and kept a copy of Philip Thicknesse's book The Speaking Figure and the Automaton Chess Player, Exposed and Detected in his personal library.
After Paris, Kempelen moved the Turk to London, where it was on show every day at a cost of five shillings. Thicknesse, a skeptic, tried to explain that the machine was just a trick. He said Kempelen was "a very ingenious man", but the Turk was an elaborate hoax. He thought there was a small child inside the machine. The Turk was "a complicated piece of clockwork ... which is nothing more, than one, of many other ingenious devices, to misguide and delude the observers".
After a year in London, Kempelen and the Turk went to Leipzig, Dresden, and Amsterdam. After that the machine was probably stored at the Schonbrunn Palace for 20 years. Kempelen did try to sell it before his death. He died at the age of 70 on 26 March 1804.
Malzel and the machine
In 1805 Kempelen's son sold the machine to Johann Nepomuk Malzel, a Bavarian musician interested in machines and devices. Malzel had designed a type of metronome. He had tried to purchase the Turk before Kempelen's death but the price was too high. Malzel had to learn how the machine worked and make some repairs. He wanted to make the Turk a greater challenge.
In 1809, Napoleon I of France arrived at Schonbrunn Palace to play the Turk. Before the game, the Turk, with Johann Baptist Allgaier hidden inside, saluted Napoleon. In a surprise move, Napoleon took the first turn instead of allowing the Turk to make the first move. When Napoleon attempted an illegal move, the Turk put the piece back in its original spot and continued the game. After a second illegal move the Turk took the piece from the board. When Napoleon tried a third illegal move the Turk swept its arm across, knocking all the pieces off the board. Napoleon was amused, and then played a real game with the machine. After 19 moves Napoleon pushed over his king to show that he knew he could not win, and was giving up.
In 1811, Malzel took the Turk to Milan to show Eugene de Beauharnais, the Prince of Venice and Viceroy of Italy. Beauharnais liked it so much, that he bought the Turk for 30,000 francs - three times what Malzel had paid - and kept it for four years. In 1815, Malzel went to Beauharnais in Munich and bought the Turk back.
Malzel took the Turk back to Paris where he made friends of many of the leading chess players at Cafe de la Regence. In 1818 he moved to London and held a number of performances with the Turk and many of his other machines. He added a voice box so the machine could say "Echec!" when placing a player in check.
Malzel in America
In 1826, Malzel took the machine to New York City. Malzel had problems finding people to operate the machine. He ended up bringing William Schlumberger, from Alsace in Europe to come to America and work for him once again. Malzel had to provide the money for Schlumberger's transport.
In Boston, Malzel told a story that the New York chess players could not handle full games and that the Boston players were much better. This was a success for many weeks, and the tour moved to Philadelphia for three months. In Baltimore, it lost a match against Charles Carroll, a signer of the Declaration of Independence. Two American brothers built their own machine, the Walker Chess-player. Malzel tried to buy it, but they would not sell it. This second machine toured for a number of years, but was never as famous as the Turk.
Between 1828, Malzel visited Europe, returning to the States in 1829. In the 1830s, went as far west as the Mississippi River and visiting Canada. In Richmond, Virginia, Edgar Allan Poe, wrote about the Turk for the Southern Literary Messenger. Poe's essay "Maelzel's Chess Player" was published in April 1836 and is the most famous essay on the Turk.
Malzel took the Turk on his second tour to Havana, Cuba. In Cuba, Schlumberger died of yellow fever, leaving Malzel without an operator. Malzel died at sea in 1838 at the age of 66 during his return trip, leaving his machine with the ship captain.
Final years and beyond
The Turk was given to a friend of Malzel's, the businessman John Ohl. He tried to sell it at auction but ended up buying it himself for $400. John Kearsley Mitchell, Edgar Allan Poe's doctor, bought the Turk from Ohl. Mitchell formed a club to fix it, completing the rebuilding in 1840.
Mitchell and his club gave the machine to the Chinese Museum of Charles Willson Peale. After a few shows it was put into a corner and forgotten. On 5 July 1854, a fire that started at the National Theater in Philadelphia reached the Museum and destroyed the Turk. Mitchell believed he had heard "through the struggling flames ... the last words of our departed friend, the sternly whispered, oft repeated syllables, 'echec! echec!!'
John Gaughan, an American in Los Angeles who made items for magicians, spent $120,000 building a copy of Kempelen's machine over a five-year period from 1984. The new machine used the Turk's chessboard, which was saved from the fire. Gaughan's Turk was displayed in November 1989 at a history of magic conference. This time, the Turk played against a computer running a chess program.
Revealing the secrets
Most books and articles written during the Turk's life about how it worked were incorrect.
It was not until Dr. Silas Mitchell's series of articles for The Chess Monthly that the secret was fully revealed. Mitchell, son of the final owner of the Turk, wrote that "no secret was ever kept as the Turk's has been. Guessed at, in part, many times, no one of the several explanations ... ever solved this amusing puzzle". As the Turk had been destroyed, Silas Mitchell felt that there were "no longer any reasons for concealing from the amateurs of chess, the solution to this ancient enigma".
New interest began in the Turk when IBM created Deep Blue. This was a computer that could challenge the world's best players. The Turk was used as a personification of Deep Blue in the 2003 documentary Game Over: Kasparov and the Machine.
Legacy and popular culture
The Turk inspired a number of inventions and copies. These included the Ajeeb, or "The Egyptian", built by Charles Hopper that President Grover Cleveland played in 1885; and Mephisto, the self-described "most famous" machine, of which little is known. The Walkers made the "American Chess Player" first shown in May 1827 in New York. El Ajedrecista was built in 1912 by Leonardo Torres y Quevedo and first shown at the Paris World Fair of 1914. It was the first true chess-playing automaton, and a precursor of sorts to Deep Blue.
Other people were inspired by the Turk. The Rev. Edmund Cartwright saw it in London in 1784. He later wrote "it is more difficult to construct a machine that shall weave than one which shall make all the variety of moves required in that complicated game". Cartwright would later invent the power loom. Sir Charles Wheatstone, an inventor, saw the Turk while it was owned by Malzel. Malzel later showed his speaking machines to the researcher and his teenage son. Alexander Graham Bell read a copy of a book by Wolfgang von Kempelen on speaking machines after seeing a similar machine built by Wheatstone. Bell went on to invent the telephone.
A play, The Automaton Chess Player, was performed in New York City in 1845. The play used a copy of the Turk made by J. Walker, who had earlier built the Walker Chess-player.
Raymond Bernard's silent movie, The Chess Player (The Chess Player, France 1927), uses the story of the Turk in an adventure tale set during the Partitions of Poland in 1772. A Polish nationalist escaping from the Russians, also happens to be an expert chess player. He is hidden inside a chess playing automaton called the Turk. Just as he is about to escape over the border, the machine is taken to Saint Petersburg for the empress Catherine II. Copying the Napoleon incident, Catherine attempts to cheat the Turk, who sweeps all the pieces from the board.
The Turk has been used novels and stories:
In 1849, Edgar Allan Poe published a tale "Von Kempelen and His Discovery".
Ambrose Bierce's short story "Moxon's Master", published in 1909, is a story about a chess-playing automaton like the Turk.
In 1938, John Dickson Carr published The Crooked Hinge, in his Dr. Gideon Fell detective novels
Gene Wolfe's 1977 science fiction short story "The Marvellous Brass Chessplaying Automaton" also has a machine like the Turk.
Robert Loehr's 2007 novel "The Chess Machine" (published in the UK as "The Secrets of the Chess Machine") is a story about the man inside the machine.
F. Gwynplaine MacIntyre's 2007 story "The Clockwork Horror" tells of Edgar Allan Poe's meeting with the Turk.
Walter Benjamin mentions the Turk his Theses on the Philosophy of History (Uber den Begriff der Geschichte), written in 1940.
In 2005, Amazon.com launched the Amazon Mechanical Turk. The program is designed to have humans perform tasks with which computers struggle, such as color comparisons.