Visitors to Haworth 1940s Week-end will be thrown into the excitement of wartime code breaking.

They will recreate the work of Bletchley Park cryptographers, who deciphered messages sent by German submarine captains.

The re-enactment will be one of several events held to celebrate the efforts of computer pioneer Alan Turing and his team of codebreakers.

Turing’s work to combat the Germans’ Enigma code machine is regarded as instrumental in shortening the Second World War and saving thousands of lives.

News of the Haworth celebration was revealed this week as Turing received a posthumous Royal Pardon, quashing his 1952 conviction for homosexuality.

Terrence Grayshon, the county chairman of event organisers SSAFA, promised a “sort of Turing-fest” for visitors on May 17 and 18.

He said Codebreaker, a 2011 film about Turing, will be screened on both the Saturday and Sunday.

Experts will give talks about Turing, Bletchley Park, early computers and the Enigma coding machine that was used by submarine captains.

Mr Grayshon said a Haworth church hall will be transformed into ‘Station X’ – where the Bletchley Park codebreakers worked – and a ‘Station Y’ listening post code will be set up in the Bronte Parsonage car park.

Mr Grayshon added: “We think we’ll have a radio and recordings of the signal, and people can take messages across the road.”