Using JavaScript To Write Doctor Who Plots

It’s a nifty if simple piece of programming and a nastily-pointed comment on Matt Smith-era Doctor Who. This site uses a claimed ‘six lines of JavaScript’ to generate pseudo-random Who episode descriptions “indistinguishable from the current series”, complete with random celebrity cameos.

The actual source code isn’t provided, but the page seems to assemble random combinations from a pre-set list of plotlines, villains and celebrities. An amusing reminder of how you can while away time as a programmer while upsetting cult TV fans. Presumably the coders might be pleased with the news that Smith is leaving the role this year, though since show runner Steven Moffat remains, whether the plotting approach will change is an open question.

Us Vs Them Vs Who


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


5 responses to “Using JavaScript To Write Doctor Who Plots”