- Chapter 1 The Empress's Challenge
- Chapter 2 Brass and Cedarwood
- Chapter 3 The Ghost in the Escapement
- Chapter 4 First Light at Schönbrunn
- Chapter 5 The Uncanny Gambit
- Chapter 6 A Mind of Gears
- Chapter 7 The Road to Paris
- Chapter 8 Café de la Régence
- Chapter 9 Franklin's Wager
- Chapter 10 The Secret Beneath the Board
- Chapter 11 Whispers in the Royal Society
- Chapter 12 The Manchester Proposition
- Chapter 13 Replicating the Spark
- Chapter 14 The Thinking Loom
- Chapter 15 Iron and Logic
- Chapter 16 The Apprentices of Brass
- Chapter 17 A Revolt of Flesh
- Chapter 18 The Machine's Counsel
- Chapter 19 Calculating the Empire
- Chapter 20 The Silent Architect
- Chapter 21 Kempelen's Dilemma
- Chapter 22 The Endgame Protocol
- Chapter 23 Checkmate in Whitehall
- Chapter 24 The Great Engine Wakes
- Chapter 25 Beyond the Sixty-Four Squares
- Chapter 26 The Age of Clockwork Intelligence
The Chess Machine That Thought
Table of Contents
CHAPTER ONE: The Empress's Challenge
The candles in the Great Gallery of Schönbrunn Palace were burning down to their brass collars, and the air smelled of beeswax, damp wool, and the faint, metallic tang of bored aristocrats. Outside, a November wind rattled the tall casements, carrying sleet across the manicured gravel of the parterre. Inside, three hundred courtiers stood in clusters of silk and powdered hair, pretending to be fascinated by a Frenchman with a magnet.
Monsieur François Pelletier was a slender man with a velvet coat the color of bruised plums and a voice that seemed to have been oiled for the occasion. He stood behind a mahogany table draped in crimson baize, his hands hovering with theatrical reverence over a small glass bowl filled with iron filings. When he passed a concealed lodestone beneath the table, the filings rose into tiny, trembling spires, like a miniature forest of black pine needles. A few ladies near the front gasped. A general in the back coughed into his lace cuff.
Wolfgang von Kempelen leaned against a gilded pilaster near the tall windows, his arms folded, watching the Frenchman with the mild, professional irritation of a man who spent his days calculating the drainage of Hungarian marshes. At thirty-five, Kempelen was already a Court Counselor, a title that sounded grander than it felt when one was buried up to the elbows in tax ledgers and petitions for salt-mine repairs. He was not a tall man, nor particularly handsome, but he had a sharp, restless eye and the calloused thumbs of someone who preferred a lathe to a quill.
"Observe, Your Imperial Majesty," Pelletier announced, bowing toward the dais where Empress Maria Theresa sat. "The invisible spirit of nature, obedient to the laws of attraction! No wires, no springs, no deception—only the secret sympathies of the earth itself."
Maria Theresa inclined her head, a gesture of practiced, maternal patience. She was fifty-two, stout, dressed in the heavy black silk she had worn since the death of her husband four years earlier, and she possessed the rare ability to look simultaneously regal and exhausted. She had ruled an empire through two wars, birthed sixteen children, and reformed the coinage; a Frenchman making iron dust dance on a tablecloth was unlikely to quicken her pulse.
Still, she clapped her gloved hands once, twice, and the gallery dutifully erupted into polite applause. Pelletier bowed again, his plum-colored coattails sweeping the parquet, and proceeded to his next marvel: a small brass needle balanced on a pivot, which spun to point at whichever playing card a lady in the front row selected.
"A parlor trick," Kempelen murmured to himself.
"You are unimpressed, Counselor?"
Kempelen turned. Standing beside him was Baron von Sperges, a colleague from the chancellery whose nose was perpetually reddened by snuff and winter drafts.
"I am impressed by Monsieur Pelletier's nerve," Kempelen said, keeping his voice low. "He has traveled four hundred leagues to show the Empress of Austria what any apothecary's apprentice can do with a piece of magnetite and a steady wrist. Look at his left sleeve. There is a second lodestone sewn into the cuff. When he gestures with his right hand to draw the eye, his left hand drops below the table."
Sperges squinted through his quizzing glass. "Is that so? Well, the ladies seem pleased. And Her Majesty likes to keep the court amused. Winter is long in Vienna."
"Winter is long everywhere," Kempelen replied. "That is no excuse for bad mechanics."
At that moment, Pelletier concluded his demonstration with a flourish, producing a small, painted wooden bird that hopped across the baize as if pecking at invisible grain—driven, Kempelen noted instantly, by a hidden clockwork spring wound too tightly, judging by the frantic, jerky rhythm of its beak. The applause was warmer this time. The bird was charming, and charm went a long way at Schönbrunn.
The Empress beckoned to her chamberlain, who whispered a few words to Pelletier. The Frenchman bowed himself backward out of the royal presence, beaming as though he had just discovered the New World. Then Maria Theresa's gaze swept the room, pausing for a fraction of a second on the gilded pilaster by the window.
"Kempelen," she called. Her voice was not loud, yet it cut cleanly through the murmur of the gallery.
Kempelen straightened his coat, smoothed his hair—which he wore unpowdered, a minor eccentricity the Empress tolerated because he was useful—and walked forward. The crowd parted for him with the wary respect accorded to men who understood both mathematics and the Empress's temper.
"Your Majesty," he said, bowing low.
"You were frowning," Maria Theresa observed. She had a way of stating things that left no room for polite denial. "Everyone else was smiling, and you were frowning. Do you not care for natural philosophy?"
"I care for it deeply, Your Majesty," Kempelen said, rising. "Which is why it pains me to see it confused with sleight of hand."
A ripple of quiet amusement passed through the nearest courtiers. The Empress's eyebrows rose a fraction of an inch. "Sleight of hand? Monsieur Pelletier assures me his wonders are entirely genuine."
"They are genuine magnets, Your Majesty, and a genuine spring inside a wooden bird. Beyond that, the only wonder is how easily a velvet sleeve can distract a room full of intelligent people."
Maria Theresa studied him for a long moment. She liked Kempelen. He had designed the hydraulic fountains at Schönbrunn that actually worked when the frost lifted, and he had built a speaking-machine prototype that could utter three distinct syllables—ma, pa, and ta—in a voice like a strangled goose, which had delighted her younger grandchildren. He was a man of brass and timber, not flattery.
"It is easy to criticize a conjurer, Counselor," she said dryly. "It is another matter to surpass him. Tell me, if you find Monsieur Pelletier's little bird so unimpressive, what would you put on that table?"
Kempelen opened his mouth to give a sensible, modest answer—something about improved water pumps for the mines in Schemnitz, perhaps, or a new type of carriage axle. He was a civil servant. Civil servants did not boast before the Empress of Austria.
Instead, perhaps because he had drunk two glasses of sweet Tokaji before entering the gallery, or perhaps because the sight of Pelletier's smug, plum-colored back retreating toward the refreshment tables annoyed him more than it ought to have, he heard himself say:
"I would put something on that table, Your Majesty, that does not merely twitch when a magnet passes beneath it. I would build a machine that appears to possess a mind of its own."
The gallery went very quiet. Even the wind against the casements seemed to pause.
Maria Theresa leaned forward slightly in her gilded armchair. "A mind of its own? You speak of an automaton, like Vaucanson's flute-player in Paris?"
"Vaucanson's flute-player is a music box in trousers," Kempelen said, the Tokaji speaking now with reckless clarity. "It plays twelve tunes because twelve tunes are pinned onto its cylinder. It cannot choose the thirteenth. What I speak of is a machine that responds to the world. A machine that can be challenged, and can answer."
"And how long would it take you to build such a marvel, Counselor?"
Kempelen hesitated. The wine was fading fast, replaced by the cold, sobering realization that three hundred people were listening. He could still retreat. He could bow, laugh lightly, and say he had spoken in jest.
But the Empress's eyes were bright with something he had not seen in them all evening: genuine curiosity.
"Six months, Your Majesty," he said. "If I am relieved of my duties at the Hofkammer for the winter, I will return to Schönbrunn in the spring with a machine that will make Monsieur Pelletier's magnets look like a child's rattle."
Maria Theresa smiled—a rare, sharp smile that made her look twenty years younger. "Six months," she repeated. "Very well, Kempelen. You shall have your leave. Your clerks can manage the salt mines until May. Do not disappoint me. I have a great fondness for miracles, provided they are delivered on time."
She dismissed him with a flick of her fan. Kempelen bowed, backed away, and did not breathe properly until he had reached the corridor outside the gallery.
Sperges caught up with him near the grand staircase, his face a mask of horrified delight. "Have you lost your senses, Wolfgang? Six months! A machine with a mind of its own! Even the academies in Berlin and Paris say such a thing is impossible—a contradiction in terms. Matter cannot think."
"I said it appears to possess a mind of its own," Kempelen muttered, though his own words sounded hollow in his ears.
"A fine distinction," Sperges said, taking a pinch of snuff. "I only hope the Empress appreciates it when you present her with a box of gears that can't even tell time."
The walk back to his quarters in the city took Kempelen nearly an hour. He refused a sedan chair, needing the cold air to clear his head. The sleet had turned to a fine, stinging rain that slickened the cobblestones and made the oil lamps along the Kohlmarkt smear into watery halos.
By the time he let himself into his workshop—a spacious, high-ceilinged room on the second floor of a stone house near the Michaelerplatz—his boots were soaked and his temper had settled into a grim, methodical hum.
He lit a three-branched candelabrum and set it on his workbench. The room smelled of linseed oil, cedar shavings, and cold iron. Along one wall stood shelves crowded with his past projects: brass cylinders, leather bellows, half-finished escapements, a wooden larynx he had carved in an attempt to imitate human vowels. Everything in the room was obedient. A lever moved because a weight pulled it; a valve opened because water pressed against it. Nothing here had ever surprised him.
He sat down on his stool, pulled a clean sheet of heavy rag paper toward him, and dipped a quill in ink.
A machine that responds to the world, he wrote.
He stared at the words. A flute-player was easy enough: air through pipes, fingers on holes, a rotating drum. Even a writing automaton, like the ones the Swiss clockmakers were rumored to be attempting, was merely a complex cam-and-lever system—a mechanical hand tracing a predetermined path. It was impressive, certainly, but it was dead. It followed a script.
If he wanted to astound the Empress, he could not build a script-follower. He needed a contest. Something where the machine could not possibly know in advance what its opponent would do.
A game.
Cards? Too dependent on chance, and too easily dismissed as a sleight-of-hand trick, like Pelletier's needle. Dice? Mere arithmetic.
Chess.
Kempelen's quill hovered over the paper. Chess was the game of kings, of generals, of philosophers. It had sixty-four squares, thirty-two pieces, and a number of possible positions so vast that no human mind could hold them all. If a machine could play chess—really play it, against a living, thinking opponent—no one in Vienna would ever speak of Pelletier's iron filings again.
He laughed softly to himself, a dry, humorless sound in the quiet room. "And how, Wolfgang," he asked the empty air, "do you propose to teach a brass gear to recognize a knight's fork?"
He knew the answer, of course. Every honest mechanic in Europe knew the answer. You couldn't. A gear could count teeth; it could not weigh the value of a sacrificed pawn against an open file. A spring could store tension; it could not feel the danger of a queen creeping toward the king's flank.
To build a chess-playing machine, one would either need to hide a very small, very clever man inside the cabinet—which was a conjurer's trick, no better than Pelletier's sleeve—or one would need to discover a principle of mechanics that did not yet exist.
Kempelen set the quill down. He was not a conjurer. The thought of spending six months building a glorified puppet booth, only to spend the rest of his life terrified that someone would open the wrong door and find a dwarf sweating inside, filled him with a quiet disgust. If he was going to be a fool, he would at least be an ambitious one.
Yet the alternative was absurd. A genuine thinking engine? Made of what? Brass? Steel? Whalebone?
He stood up and walked to the shelves, his fingers trailing over the familiar tools. He picked up a small, intricately cut gear wheel from an abandoned astronomical clock. Under the candlelight, its teeth gleamed like tiny golden fangs.
"You can add," he told the gear. "You can divide. You can keep track of the moon's phases, if someone winds you."
He set it down and picked up a pair of calipers. The problem wasn't the calculation; it was the judgment. A clockwork mechanism did the same thing every time. To play chess, a machine would have to evaluate possibilities, compare them, and choose the best one. It would have to want to win.
For the next three hours, Kempelen paced the workshop, filling sheet after sheet with diagrams that led nowhere. He tried to imagine a series of weighted levers that could represent the value of pieces on a board—a queen weighing nine ounces, a rook five, a pawn one. It was a start, perhaps, for counting material, but chess was not mere arithmetic. A pawn on the seventh rank could be worth more than a rook trapped in the corner. How did you weigh position in ounces?
By three in the morning, the candles had burned low, and the fire in the corner stove had died to gray ash. Kempelen's eyes burned. He had achieved nothing except a small mountain of crumpled paper and a throbbing ache behind his temples.
He leaned his elbows on the workbench, resting his chin in his hands. Through the tall window, the sky above Vienna was the color of wet slate. In six months, it would be May. The fountains at Schönbrunn would be turned on, the linden trees would be in leaf, and the Empress would expect him to walk into the Great Gallery with a miracle.
He looked down at the scraps of paper scattered across the wood. One of them had landed beside a small, magnetized iron bar he used for testing compass needles. Next to it lay a brass escapement wheel.
A thought—fragile, absurd, and entirely unbidden—crossed his mind.
What if the machine doesn't need to think like a man? What if it only needs to think like a machine—very, very fast?
He frowned, sitting up straight. A man could look at a chessboard and see patterns because he had a lifetime of experience. A machine had no experience. It had no intuition. All it had was speed, and certainty, and the ability to follow a rule without ever getting tired or distracted.
If you could reduce the rules of chess—not just how the pieces moved, but how they threatened, how they defended, how they controlled space—into a system of mechanical states...
It was madness. The sheer number of parts required would fill a cathedral, not a cabinet.
Unless.
Kempelen reached for a fresh sheet of paper. His hand was steady now, the fatigue momentarily forgotten. He didn't know how it could be done. He didn't even know if the materials of the eighteenth century were capable of holding such a design.
All he knew was that he had six months, a royal warrant, and a workshop full of brass. And somewhere, buried in the cold logic of gears and levers, there might just be a ghost waiting to be woken up.
CHAPTER TWO: Brass and Cedarwood
Morning arrived in Vienna with the color and consistency of cold mutton fat. Kempelen woke with his forehead resting on the edge of his workbench, a smear of dried ink across his left cheek, and a stiff neck that protested violently when he sat up. The candles had burned down to puddles of tallow. Outside, the rain had stopped, leaving the cobblestones slick and gleaming under a low, pewter sky.
He did not feel like a man who had promised the Empress of Austria a miracle. He felt like a man who had drunk too much Tokaji and talked himself out of a quiet winter.
Still, a promise to Maria Theresa was not something one slept off. By nine o'clock, Kempelen had washed his face, changed into a clean coat, and walked the half-mile to the Hofkammer. The Imperial Chancellery was a warren of drafty corridors and overheated offices where clerks scratched away at ledgers with the frantic, rhythmic industry of mice in a wainscot.
Baron von Sperges was waiting for him near the staircase, clutching a sheaf of reports on the copper mines in Tyrol.
"You look terrible," Sperges said cheerfully. "Have you already invented a thinking gear, or did you spend the night trying to talk yourself out of the noose?"
"I need my leave papers signed," Kempelen said, bypassing the pleasantries. "And I need a warrant for materials. Brass, steel, seasoned timber, and access to the royal armory's lathes if mine aren't true enough."
Sperges raised an eyebrow, his snuff-stained nose twitching. "You are actually going through with it."
"I told Her Majesty six months. That leaves me one hundred and eighty-one days." Kempelen reached out and tapped the Tyrol reports. "Enjoy the copper mines, Baron. I intend to spend the winter covered in sawdust."
By noon, the bureaucracy had yielded. A royal warrant, stamped with the double-headed eagle, was folded neatly into Kempelen's breast pocket. It did not grant him an unlimited fortune—Maria Theresa was far too thrifty for that—but it granted him six months of uninterrupted time and a modest credit with the Viennese guilds.
That afternoon, he began.
A lesser engineer might have started with the hardest part—the thinking engine itself—and spent months staring at blank paper until madness or May arrived. Kempelen was not a philosopher; he was a builder of fountains and salt-mine pumps. When faced with an impossible problem, he broke it into pieces that were merely difficult.
To play chess, a machine needed three things. First, it needed perception: a way to know what its opponent had done on the board. Second, it needed action: a way to physically move its own pieces in response. Third, and most terrifyingly, it needed judgment: a way to decide which piece to move, and where.
Perception and action were mere mechanics. They were hard, certainly, and required patience, but they obeyed the laws of physics as Kempelen understood them. He would build the body first. Perhaps, by the time the shell was finished, he would have figured out how to put a soul inside it.
He started with the wood.
For three days, Kempelen haunted the timber yards along the Danube canal, tapping planks with his knuckles and holding them up to the pale winter light. He rejected oak—too heavy, and prone to splitting when the dry heat of a palace gallery hit it. He rejected pine—too soft, too common. In the back of a merchant's shed, stacked beneath tarpaulins that smelled of river mud, he found what he wanted: boards of aged cedarwood, imported from the Levant years earlier and forgotten.
Cedarwood was light, straight-grained, and remarkably stable. It did not warp easily in damp weather, and its sharp, resinous scent kept moths and woodworm at bay. More importantly, it had a warm, reddish-brown luster that would look handsome under candlelight. If he was going to present a marvel to the court, it could not look like a packing crate.
He hired two carts to haul the timber back to Michaelerplatz, and for the next three weeks, his workshop ceased to be a place of quiet calculation and became a hurricane of shavings.
The cabinet he designed was four feet long, two and a half feet deep, and three feet high—roughly the size of a respectable sideboard. He built it on four sturdy legs fitted with small brass casters, so it could be rolled effortlessly across the parquet floors of Schönbrunn. The front was divided into three doors, each fitted with delicate brass hinges and a lock, and the back was a solid panel of cedarwood, save for a small, discreetly placed winding-aperture near the bottom.
"It looks like a very expensive coffin," Sperges remarked when he stopped by in early December to check on his colleague's sanity. He picked up a curl of cedar shaving and sniffed it. "Though I suppose it smells better than most."
"It's a housing," Kempelen said, not looking up from the dovetail joint he was planing. "A clock needs a case. This needs a cabinet."
"And the figure?" Sperges gestured toward the corner of the room, where a rough torso carved from limewood sat propped against a sack of charcoal. "Are you building a Turk?"
Kempelen paused, wiping sweat from his forehead with the back of his wrist. "Why not? The Viennese are still half in love with the Ottomans, even after two sieges. Everyone at court wears turbans to masquerades. Besides, a flowing robe hides a great deal of brasswork."
"And a turban hides a great deal of... what? Empty air?"
"Hopefully not," Kempelen muttered, returning to his plane.
In truth, the figure was more than mere decoration. It was the machine's hand. Seated behind the cabinet on a low wooden chest, the life-sized automaton would lean slightly forward over the chessboard, its left arm resting on a velvet cushion, its right arm poised to reach out and grasp the pieces.
Carving the head was a pleasant distraction from the looming nightmare of the engine. Kempelen was no sculptor, but he had a sharp eye for proportion. He gave the Turk a fierce, aquiline nose, a sweeping mustache carved from dark walnut, and a pair of glass eyes he bought from a doll-maker in the Graben. When he fitted the turban—wound from yards of fine white muslin—and draped the torso in a crimson kaftan trimmed with rabbit fur, the figure looked remarkably, unsettlingly alive. Even sitting motionless in the corner of the workshop, it seemed to be watching him with mild, aristocratic disdain.
By Christmas, the cabinet and the figure were largely complete. Now came the first true test of engineering: perception.
How does a blind machine know that a human hand has just moved a white pawn from E2 to E4?
Kempelen sat at his workbench on Christmas Eve, the bells of St. Stephen's Cathedral booming across the snowy rooftops, and stared at the chessboard he had inlaid into the top of the cedarwood cabinet. Sixty-four squares of alternating maple and walnut, each two inches wide.
He could have used mechanical plungers—tiny pins sticking up through the center of each square, depressed by the weight of a piece. But pins could jam. Dust could foul them, or a careless player could slide a rook sideways and snap them off. Worse, a plunger only told the machine that a square was occupied, not which piece was on it, unless every piece had a different weight—and even then, a human hand resting on a queen while thinking would throw off the balance.
No. He needed something cleaner. Something invisible.
He reached across the bench and picked up the small, magnetized iron bar he had been using to test compass needles the night of the Empress's challenge. A slow, wry smile touched his lips.
The invisible spirit of nature, he thought, remembering Monsieur Pelletier's oily voice. No wires, no springs, no deception.
Pelletier had used magnets to make iron dust dance for bored duchesses. Kempelen would use them to give a machine eyes.
He spent the next fortnight carving a new set of chessmen from boxwood and ebony. Inside the base of each piece, he hollowed out a small cavity and inserted a cylindrical lodestone, sealed in with a plug of wood and green felt. Each piece was magnetized, though with a subtle variation: the white pieces had their north poles facing down; the black pieces had their south poles facing down.
Beneath the inlaid chessboard, inside the ceiling of the cabinet, Kempelen constructed a grid of sixty-four tiny, delicately balanced iron needles, each suspended on a hair-thin brass pivot directly beneath the center of a square. When no piece stood above it, a needle hung horizontally, held level by a tiny counterweight of lead.
When a white piece was placed on the square, its downward-facing north pole repelled the needle's north end, tipping it sharply downward. When a black piece was placed on the square, it attracted the needle, tipping it upward.
It was silent. It had no protruding parts to break. And it worked through solid maple.
Kempelen tested it on a bitter morning in early January. He placed a white pawn on E2. Beneath the board, the needle at E2 dipped, its tail rising to trip a hair-trigger brass catch, which in turn slid a thin steel rod half an inch to the left. He lifted the pawn and set it on E4. The E2 needle swung back to level; the E4 needle dipped.
"One bit of knowledge," Kempelen whispered to the empty room. "White moved from here to there."
He still couldn't tell a pawn from a queen by the needle alone—the machine would have to remember where the pieces started, and track their movements one by one, like a blindfolded master playing by memory. If someone cheated and swapped a knight for a bishop while the machine wasn't looking, it would be fooled. But in an honest game, tracking the starting positions and watching the needles tip was enough.
Perception was solved.
Next came action.
Teaching a wooden arm to play chess proved far more infuriating than teaching a board to feel. A human arm has dozens of muscles working in unconscious harmony; when you reach for a knight, your shoulder, elbow, wrist, and fingers all adjust simultaneously without a single conscious thought.
Kempelen's Turk had no muscles. It had catgut cables, brass pulleys, and a series of eccentric cams.
He spent three weeks in a state of low, simmering rage, surrounded by snapped cords and bent brass linkages. If he gave the arm enough spring tension to lift a heavy boxwood king, the wooden fingers snapped shut with such violence that they sent the piece flying across the room. If he softened the tension, the fingers merely brushed the king's crown and slipped off, leaving the Turk grasping empty air like a drunkard reaching for a wineglass.
The solution, when it finally came, was elegance itself. He abandoned springs for the grip entirely, replacing them with a simple, counterweighted pantograph linkage inside the Turk's hollow chest. The arm's movement—shoulder, elbow, wrist—was driven by three separate cam-tracks, each cut with mathematical precision to trace a smooth arc over the sixty-four squares. By adjusting the depth of the notches on the cams, Kempelen could command the arm to hover over any square on the board, descend precisely two inches, close its leather-padded fingers with a gentle, uniform pressure, lift the piece, and carry it to its destination.
By the first week of February, the Turk could move a piece from any square to any other square—provided Kempelen stood behind the cabinet and turned the brass crank by hand, guiding the cam-followers manually.
He tested it late one night, watching by candlelight as the crimson-robed figure leaned forward, its glass eyes fixed blankly on the board. With a soft, rhythmic whir-click, the wooden hand glided over the maple squares, plucked a black knight from G8, lifted it cleanly over the pawn row, and set it down squarely in the center of F6. Then the arm retreated smoothly to its velvet cushion.
It was uncanny. Even knowing every pulley and pin inside the torso, Kempelen felt a prickle of cold along the back of his neck. The movement wasn't jerky like Pelletier's wind-up bird. It was deliberate. Measured. Almost thoughtful.
Then the Turk stopped, staring at the board, waiting for the next crank of the handle.
Kempelen let out a long breath and sat down heavily on his stool. Half the winter was gone. May was less than three months away.
He had built a magnificent body. It had eyes of iron and lodestone, and a hand of limewood and catgut. And inside the cedarwood cabinet, beneath the sixty-four balanced needles, there was nothing at all. Just three feet of empty, aromatic air.
Now, he had to build the brain.
The next morning, Kempelen walked through the slush to the Spittelberg district, a warren of narrow streets where the city's finest artisans—engravers, jewelers, and clockmakers—kept their shops. He stopped before a narrow doorway marked by a gilded wooden pocket watch hanging from an iron bracket.
Master Johann Gruber was sixty years old, half-blind in his left eye from decades of peering through a brass loupe, and possessed a temperament roughly as warm as a frozen turnip. He did not like aristocrats, he did not like Court Counselors, and he particularly did not like people who asked him to build things that made no sense.
"Three hundred identical escapement wheels?" Gruber repeated, squinting at Kempelen's sketch as if it were a personal insult. "Half an inch in diameter, with forty-eight teeth each? And sixty-four ratchets with hair-spring pawls?"
"Yes, Master Gruber," Kempelen said patiently. "Cut from the hardest brass you have. No play in the arbors. Every tooth must be true."
Gruber set the sketch down on his cluttered counter. "I am a horologist, Counselor. I build clocks for bishops and pocket watches for generals. A clock needs one escapement wheel. What in God's name are you building that needs three hundred? A machine to count the stars?"
"Something like that," Kempelen said. "I have a royal warrant. You will be paid in silver, on delivery, with a bonus if they are finished by the end of the month."
Gruber's good eye narrowed. Silver was silver, even if it came from a madman. "Three hundred wheels, sixty-four ratchets, and all the arbors to match. That's a month's work for me and both my apprentices, day and night. It won't be cheap."
"I didn't ask for cheap. I asked for true."
Kempelen left the shop with a lighter purse and a heavier mind. Even with Gruber cutting the gears, the sheer scale of what he was attempting was beginning to press down on him like a physical weight.
He walked back to Michaelerplatz, his boots squelching in the melting snow, and tried to hold the architecture of the engine in his head.
A chess game was a tree of possibilities. White had twenty possible first moves. Black had twenty responses. After just two moves each, there were over seventy thousand possible positions on the board. No box of brass, no matter how densely packed, could hold seventy thousand pre-programmed responses.
The machine could not memorize chess. It had to calculate it.
On the fly. Move by move.
In the quiet of his workshop, Kempelen cleared the wood shavings from his bench and laid out a fresh sheet of rag paper. The Turk watched him from the corner, its glass eyes catching the gray afternoon light.
"You have eyes," Kempelen told it softly. "And you have a hand. Now let us see if we can teach you to want to win."
He dipped his quill in ink, and for the first time, he began to draw not gears, nor levers, nor cams—but pure, cold logic.
This is a sample preview. The complete book contains 27 sections.