The story of cracking the Enigma code has, of course, been told before — in the 2001 film Enigma, which managed to leave out Turing altogether. The Imitation Game, by contrast, is as much Turing’s story as it is a film about code-breaking. Based on a book by Andrew Hodges, himself a leading mathematician, and with a screenplay by Graham Moore, it follows Turing from schooldays in the 1930s via Bletchley Park to post-war Manchester, where he is arrested for propositioning a man in a pub. Homosexuality was then an imprisonable offence and Turing was duly jailed in 1952. It broke him and he committed suicide two years later.