‘I saw the possibility of what could be done – so I did it’: revolutionary video game The Hobbit turns 40

The developer of the text-adventure game on how, at 20, she overcame 1980s misogyny to turn a Tolkien book into one of the most groundbreaking titles in the gaming canon

As a teenager, Veronika Megler was intent on becoming a statistician. She signed up for a computer science course at Melbourne University, reasoning it would assist her chosen career. “I think there were four women in a class of about 220 people, and it was pretty misogynistic,” she recalls. Megler had already built her own PC, buying the motherboard, chips, capacitors and diodes from an electronics shop in Melbourne. “In the store they’d say ‘tell your boyfriend we don’t have these’,” she recalls.

Realising that statistics wasn’t for her, Megler answered a newspaper advert for a part-time programming job at a local software company called Melbourne House. It was 1980, and she was halfway through a course that focused on designing operating systems and developing programming languages. “The day I was hired, the first thing my boss said to me was, ‘write the best adventure game ever,’” she remembers. The eventual result of this instruction was The Hobbit, a landmark 1982 text adventure game that’s still fondly remembered today.

‘The best adventure game ever’ … The Hobbit.
‘The best adventure game ever’ … The Hobbit. Photograph: ArcadeImages/Alamy

Though the 20-year-old didn’t have a lot of experience with video games, she’d enjoyed one in particular. “I had found Colossal Cave Adventure addictive until the point where I had mapped out the game and solved it. Then it instantly became boring, and I never played it again. So I thought about what it was that made that game stop being interesting, and designed a game that didn’t have any of those issues.”

Megler enlisted fellow student Phillip Mitchell to assist with the game’s parser – the code that helps the game and the player to understand each other, turning words into commands and vice versa. The story was originally a generic fantasy adventure. However, as fans of Tolkien’s work, Megler and Mitchell suggested using one of his works as a base for the game. The sprawling and epic The Lord of the Rings stories were the most famous; the programmers suggested that the less complex and tighter plot of The Hobbit would be a better fit.

Melbourne House boss Fred Milgrom loved the idea, and Megler began adapting the book. “I went through it and identified key locations, characters, puzzles and events,” she says. “Then I tried to map that into the game. It seemed doable. But it was a stretch. And probably a little too ambitious.” By the time Melbourne House secured the Hobbit licence, Megler had already designed much of the game’s engine.

The Hobbit - Sinclair ZX Spectrum Videogame
Megler created an innovative system that allowed the player to experiment with different commands and objects. Photograph: ArcadeImages/Alamy

In most text adventures of the time, the player typed commands – examine sword, go north – and the program reacted accordingly with a set of preset replies. But writing code on a TRS-80 knock-off computer from Australian manufacturer Dick Smith Electronics, Megler created an innovative system that allowed the player to experiment with different commands and objects. “The classic example was ‘turn on lamp’. It turns on the lamp, right? But turn on the angry dwarf, and you turn him into a randy dwarf that continually propositions you,” laughs Megler. (Sadly, this particular interaction was removed from the final game.)

In an era where most text adventures could be boiled down to a game of “guess the correct verb”, The Hobbit allowed for adverbs and using items, eliminating the issues that had bugged her in Colossal Cave Adventure. The game also allowed for the passage of time: if you dawdled for too long in the wrong place, Bilbo soon became a juicy snack for a troll.

“I saw it as a super-interesting puzzle to solve – and I saw the possibility of what could be done – so I just did it,” says Megler. “There were essentially message templates and a dictionary of words, and a lot of the power of the game comes from the fact that there are just three or four basic ideas that interact with a fair amount of randomness to create what can be called emergent behaviour.” At a time when most home computer video games were still coded in Basic language, this was remarkably progressive work.

Megler had the foresight to structure her system so it could be scrubbed clean and used as the basis for more games. “I designed [The Hobbit] so that it would have pluggable parts: you could take the same basis for the game and then just change the character lists and map and sell it as a different game.” Sadly, apart from a followup based around Sherlock Holmes, Melbourne House failed to take advantage. It seemed the world was not ready for an adaptable game engine.

About halfway through writing The Hobbit, Megler and Mitchell were called away to work on another game called Penetrator – Melbourne House’s transparent knock-off of Konami’s seminal scrolling shoot-’em-up Scramble. They created an excellent clone with an innovative feature: a level designer. “After we’d written Penetrator, the idea came up of adding a graphical element to the Hobbit,” remembers Megler. Artist Kent Rees drew the famous images, which Mitchell expertly rendered into the game using a minimal amount of precious memory.

If there’s one thing that anybody who played The Hobbit in the 80s remembers with a smile – or a grimace – it’s that annoying dwarf-king in exile, and his enthusiastic singing. “One of the iconic things about Thorin in the book was that he frequently sat down and sang about gold,” grins Megler. “So, I picked that up as something that was quintessentially him … The problem with Thorin was that the sequence was too short! So he ended up sitting down and singing about gold much more than he did in the book.”

Veronika Megler
‘I saw it as a super-interesting puzzle to solve’ … Veronika Megler. Photograph: Kimberli Ransom

Released in the UK and Australia in 1982, The Hobbit accrued glowing reviews and awards in the press. The ambition, skill and determination of these two part-time students, charged with making the “best adventure game ever”, has influenced a whole generation of gamers and coders. “I think solving a problem within tight constraints – which is the space we were in – unleashes a very different type of creativity,” concludes Megler. “And that in itself can be very powerful.”

Why is it that The Hobbit made such an impression? Forty years on, why is it still talked about? “I think it’s because it was revolutionary compared to the other games available at the time,” muses Megler. “I mean, I’ve had letters from people who talked about how it’s changed their life; others who became interested in relationships and people rather than just shooting games. And people who have done PhDs in linguistics because they found the parser so fascinating.”

Graeme Mason

The GuardianTramp

Related Content

Article image
The 15 greatest video games of the 70s – ranked!
From the simplicity of Pong’s two bats and a ball to Space Invaders’ advancing ranks of aliens, the 70s saw the rise of a phenomenon that mesmerised the world

Keith Stuart

13, May, 2021 @8:00 AM

Article image
The 13 scariest video game moments ever
The greatest horror titles are haunted by marauding monsters, eviscerating aliens and little girls in red coats. Steel yourself to meet some of the most chilling ghosts in the machine

Keith Stuart and Keza MacDonald

31, Oct, 2018 @8:19 AM

Article image
Video game streaming: is it worth it?
With Microsoft, Google and several others vying to be the ‘Netflix of video games’, what advantages are on offer?

Alex Hern

26, Jul, 2019 @12:00 PM

Article image
Autonauts review – sim robots share the load of colonisation
There’s plenty to do in this exciting and empowering simulation game, where automation is the key to your shining future

Will Freeman

17, Oct, 2019 @8:28 AM

Article image
The 20 greatest home computers – ranked!
They seemed like the future … and here we are. We remember the key PC machines that inspired a generation of gamers and programmers

Keith Stuart

07, Sep, 2020 @8:00 AM

Article image
Three days of pain: how I built a gaming PC
For an enthusiastic computer nerd, it should have been a fun, fulfilling, money-saving distraction during lockdown. Then the error messages started

Keith Stuart

15, Apr, 2021 @1:20 PM

Article image
A pirate's life for me: Rare's ambitious plans for Sea of Thieves revealed
The Xbox and PC online multiplayer pirate adventure will boast sea monsters and skeleton forts – and this is only the beginning

Keith Stuart

13, Feb, 2018 @8:01 AM

Article image
Taming the beast: how to build a gaming PC for 2018
Buying a new computer for gaming can be a confusing endeavour. We asked a group of experts what you’ll need for a slick experience

Keith Stuart

31, Jan, 2018 @8:00 AM

Article image
How to build a gaming PC for 2020: part one
AMD or Nvidia? Hard disk or solid state? We ask the experts what should be inside your dream machine for this year and the future

Keith Stuart

16, Mar, 2020 @8:32 AM

Article image
How to build a gaming PC for 2020, part two: choosing a mouse, keyboard and monitor
You’ve bought the perfect PC – now you need to complete your setup to get the best from your games. Here are our suggestions

Keith Stuart

17, Mar, 2020 @12:45 PM