A new online 'Doctor Who' game will teach children the basics of computer coding and programming. Aimed at six to 12-year-olds, the game is voiced by the current doctor Peter Capaldi and features the fearsome Daleks - who turn goodies. 

Doctor WhoPeter Capaldi [L] and Jenna-Louise Coleman [R] filming Doctor Who

The puzzles are lined to Key Stage 2 and 3 learning outcomes, with players starting the game as the Tardis materialises during a pursuit through space, according to the BBC. On freeing his old enemy, a Dalek, from the Cybermen, the Doctor finds himself taking his new ally on a mission to save the world. 

More: so, what did Peter Capaldi do before Doctor Who?

Some of puzzles include players taking control of the Dalek and programming it to "power up" and perform a range of tasks. Another sees players unlocking an achievement that allows the Doctor to build the Dalek back to full strength, ensuring it can take on more difficult challenges. 

Jo Pearce, of BBC Wales' Interactive team, said: "Children will be learning these increasingly important new skills while being actively entertained.

"The idea behind it is simply to use one of our biggest, most popular brands to inspire children to find out more about programming."

More: Peter Capaldi on 'Doctor Who', "No flirting", but "we still both sh*t up"

The 'Doctor Who' came will be released as part of the BBC's Make it Digital initiative. It will be free to play on bbc.co.uk/cbbc from October 22. Versions will be available in both English and Welsh.

Season 8 of Doctor Who, starring Capaldi in is first outing as the legendary character, continues on October 25 with the episode In The Forest of the Night. It was written by Frank Cottrell Boyce, the screenwriter and author known for penning the London Olympics opening ceremony in 2012. 

More: Peter Capaldi on Jenna Coleman, "I don't even know if she'll make it till Christmas"