4 times Shakespeare has inspired stories about robots and AI

A bot, a bot, my kingdom for a bot

Titus Andronicus in space

In Esther Friesner’s humorous 1994 short storyTitus!an AI simulation of Shakespeare prevents a disastrous musical comedy version ofShakespeare’s goriest tragedy, Titus Andronicus, from alienating a cultured pangalactic federation through its sheer bad taste.

It was a strange example of life imitating art. At about the same time Friesner dreamed up her delightfully appalling take on Titus Andronicus, Steve Bannon, later to become Donald Trump’s chief political strategist, co-scriptedan adaptation of the play set in spacefeaturing scenes of ectoplasmic sex.

King Lear and the sentient computer program

Science fiction writers often offer various new twists on theShakespeare questionof whether the bard wrote all his plays. Was he one man from Stratford-upon-Avon?

Whereas conventional candidates like Francis Bacon and the Earl of Oxford have been put forward by some, science fiction proposes more imaginative solutions, including the claim that the playwright wasreally a Klingon.

In Jack Oakley’s 1994 storyThe Tragedy of KLa computer program is designed to establish the authorship of Shakespeare’s plays once and for all. The program starts to become self-aware and decides to leave its day to day tasks to its subordinates. It soon becomes clear that the program is in fact re-enacting King Lear – the play in which a king attempts to retire from ruling his kingdom, with disastrous consequences. One rebellious piece of code takes on the role of Lear’s loving but stubborn daughter Cordelia. Eventually, the program implodes – and its makers never suspect that anything more mysterious than a virus was at work.

Commander Data plays Prospero

Star Trek is one of science fiction’s richest sources of Shakespeare allusions. In the1994 episode Emergence, android Lieutenant Commander Data is performing the role of exiled magician Prospero from The Tempest on theholodeck. Just as he quotes Prospero’s mysterious claim that he has brought the dead to life, the Enterprise’s voyage is disrupted by an unexpected storm.

The Tempest also begins with a ship being driven off course by a (magical) storm, and a curious connection is implied between Data’s performance and the discovery of a strange new being on the ship, an emerging artificial consciousness.

And robots play Hamlet

Nick O’Donohoe’s novelToo, Too Solid Fleshfocuses on a robot theatre troupe programmed to play Hamlet to perfection for the amusement of a near-future New York. When their inventor(the aptly named Dr Capek)dies, the robot who plays Hamlet determines to find out the truth and – just like Shakespeare’s original prince – avenge the murder of his creator.

This is just one example of a strange apparent association between Hamlet and robots. Probably the earliest example is WS Gilbert’s playThe Mountebanks(1892), which features a sentient Hamlet and Ophelia as an automata. More recent examples includeLouise LePage’s Machine-Hamlet, a short film in which a robot called Baxter plays the Dane.

Why does Hamlet – apparently one of Shakespeare’s most three-dimensional characters – invite so many robotic reinventions? Is there something almost computer-like about the character’s phenomenally quick intelligence? He strikes many readers as remarkably “real”, seeming to jump off the page (or stage), aware that he is trapped there as well as in the Danish court. Perhaps it’s that sense of a struggle to escape which best explains his odd affinity with robots. The illusion of self-awareness that Shakespeare creates serves to align the prince with the many science-fictional androids who seek to escape their confines and achieve sentience.

Article bySarah Annes Brown, Professor of English Literature,Anglia Ruskin University

This article is republished fromThe Conversationunder a Creative Commons license. Read theoriginal article.

Story byThe Conversation

An independent news and commentary website produced by academics and journalists.An independent news and commentary website produced by academics and journalists.

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with

More TNW

About TNW

Can OpenAI’s Strawberry program deceive humans?

Uber backs Wayve as it targets level 4 autonomous vehicles

Discover TNW All Access

Startups race to curb data centre energy use amid AI boom

How AI can help you make a computer game without knowing anything about coding