The Imitation Game is a historical drama, so it takes some liberties with the truth. However, it does a good job of capturing the essence of Turing's life and work. The film also explores Turing's personal life, including his homosexuality, which was illegal in the United Kingdom at the time.