The Imitation Game is a 2014 historical thriller film directed by Morten Tyldum, with a screenplay by Graham Moore based on the biography Alan Turing: The Enigma by Andrew Hodges. The film stars Benedict Cumberbatch as the British cryptanalyst Alan Turing, who helped solve the Enigma code during the Second World War and was later prosecuted for his homosexuality. More: en.wikipedia.org.