A NEW YORK TIMES BESTSELLERThe official book behind the Academy Award-winning film The Imitation Game, starring Benedict Cumberbatch and Keira KnightleyIt is only a slight exaggeration to say that the British mathematician Alan Turing (1912-1954) saved the Allies from the Nazis, invented the computer and artificial intelligence, and anticipated gay liberation by decades--all before his suicide at age forty-one. This New York Timesbestselling biography of the founder of computer science, with a new preface by the author that addresses Turings royal pardon in 2013, is the definitive account of an extraordinary mind and life. Capturing both the inner and outer drama of Turings life, Andrew Hodges tells how Turings revolutionary idea of 1936--the concept of a universal machine--laid the foundation for the modern computer and how Turing brought the idea to practical realization in 1945 with his electronic design. The book also tells how this work was directly related to Turings leading role in breaking the German Enigma ciphers during World War II, a scientific triumph that was critical to Allied victory in the Atlantic. At the same time, this is the tragic account of a man who, despite his wartime service, was eventually arrested, stripped of his security clearance, and forced to undergo a humiliating treatment program--all for trying to live honestly in a society that defined homosexuality as a crime. The inspiration for a major motion picture starring Benedict Cumberbatch and Keira Knightley, Alan Turing: The Enigma is a gripping story of mathematics, computers, cryptography, and homosexual persecution.