“The Turk” won games against the likes of Napoleon and Benjamin Franklin, while challenging many great minds to penetrate its secrets. Concealing a human player in a shifting compartment amid a maze of impressive-looking gadgetry, it took decades for outsiders to correctly guess how the Turk really worked.