In 1769 a Hungarian civil servant named Wolfgang von Kempelen went to a magic show in Vienna. It wasn’t just any magic show, though. It was being performed in the court of Empress Maria Theresa, and Kempelen, who had training in physics and mathematics, had been invited by the empress herself to give his scientific opinion of the performance. The show, as it turned out, was no match for Kempelen’s keen mind. After it was over he assured the empress and the rest of the court that he could have done better. Maria Theresa gave him six months to prove it with a show of his own.
Kempelen returned in 1770 with an automaton that he had constructed himself and gave a performance that stunned the court. In the 18th century automatons were all the rage; inventors such as Jacques de Vaucanson, Pierre Jaquet-Droz, and Henri Maillardet thrilled audiences with ingenious humanlike machines that could perform activities like playing a musical instrument or writing. Kempelen’s automaton outdid them all, though—or at least it seemed to. It was a wooden man in oriental dress, sitting behind a large cabinet with a chessboard on top. Kempelen would begin his performances by opening the doors of the cabinet to show the audience the clockwork machinery inside. Once the doors were closed, he would use a key to wind the machine. A member of the audience would then come forward and sit down facing the automaton to play chess. The automaton would spring to life, grasping the pieces and making moves. As if that surprise wasn’t enough, the human challenger would quickly discover that the automaton was a strong player; it won most of the games it played.
Beginning the 1780s Kempelen’s automaton, known as the Turk or the Mechanical Turk, was taken on tours around Europe, and it played games against a number of noteworthy human opponents. Ben Franklin played it in Paris. The chess master Fran?ois-André Philidor managed to beat it but declared that the game had been a challenging one. When Kempelen died in 1804, the automaton was acquired by an engineer, Johann Maelzel, who continued to travel with it and give performances.
As the automaton’s fame grew, so did the debate over how it worked. A few people were willing to believe that Kempelen’s invention was actually capable of understanding and playing chess by itself, but most rightly concluded that it was an elaborate illusion and that the wooden man’s movements were being controlled by a human operator sitting in the cabinet or using magnets or wires from afar. Some fanciful explanations were also proposed. Perhaps there was a trained chess-playing monkey sitting in the cabinet, or maybe the whole thing was possessed by evil spirits. The reality, of course, was that there was a chess player concealed inside the cabinet, keeping track of the game on a miniature chessboard and controlling the Turk’s movements with levers.
Even though the Turk was an illusion, it raised real questions about machines and the nature of intelligence, and these questions have only grown more pressing as technology has advanced in the modern era. In 1819 the English mathematician and inventor Charles Babbage watched the automaton play. He immediately realized that it was a clever trick, but he was inspired to reflect on how a machine might be constructed so that it would actually play chess. Babbage went on to invent an automatic mechanical calculator that is usually considered the first digital computer. A distant descendent of Baggage’s invention—a chess-playing computer called Deep Blue—became the first computer to defeat a human world champion in a chess match, in 1997. The future simulated by the Mechanical Turk, in which humans must coexist with machines that are capable of outthinking them, seemed closer than ever.