homehome Home chatchat Notifications


Trippy AI writes interactive text adventure game on the fly

The algorithm took inspiration from Ender's Game.

Tibi Puiu
September 16, 2019 @ 4:03 pm

share Share

Which path will you take? Credit: Flickr, Katy Warner.

Some of the earliest computer games had no graphics at all and instead relied on a text-based user interface. To this day, one of the most popular genres is text adventure gaming, sometimes called interactive fiction, where worlds are described in the narrative and the player submits typically simple commands to interact with the worlds.

If you’re old enough (like I am), you might remember Infocom’s The Hitchhiker’s Guide to the Galaxy and Zork. The format has now replicated by a machine learning algorithm that uses neural networks to create a text-based adventure game in real-time.

Futurism reports that the game was made by Northwestern University neuroscience graduate student Nathan Whitmore, who was inspired by the Mind Game from the science fiction novel Ender Game. The Mind Game adapted to the interests of each student in real-time, and was used by the Battle School staff to analyze the student’s personality and psychology.

The AI is based on the amazing (and, quite frankly, scary) GPT-2, the fake news-writing algorithm created by OpenAI. We covered GPT-2 in a previous story.

If this all sounds exciting, you can have look for yourself by playing the game. Follow the instructions on the page by first copying the code to your Google Drive account. Don’t be intimidated by the install process — it’s quite straightforward.

Personally, I had a lot of fun playing GPT Adventure, although the environment can get glitchy fast, making the game seem incoherent. I mean… just check out this exchange out (the upper case text is the AI).

Now, imagine the same format only, this time, with motion graphics as well. With a bit more coherence, such a game would look and feel like traveling through a dream. And at the current rate of development, it might not be long before we get the opportunity to play such a game.

So, if any of you had the chance to play GPT Adventure, paste some interactions in the comments section. This should be fun!

share Share

Climate Change Unleashed a Hidden Wave That Triggered a Planetary Tremor

The Earth was trembling every 90 seconds. Now, we know why.

Archaeologists May Have Found Odysseus’ Sanctuary on Ithaca

A new discovery ties myth to place, revealing centuries of cult worship and civic ritual.

The World’s Largest Sand Battery Just Went Online in Finland. It could change renewable energy

This sand battery system can store 1,000 megawatt-hours of heat for weeks at a time.

A Hidden Staircase in a French Church Just Led Archaeologists Into the Middle Ages

They pulled up a church floor and found a staircase that led to 1500 years of history.

The World’s Largest Camera Is About to Change Astronomy Forever

A new telescope camera promises a 10-year, 3.2-billion-pixel journey through the southern sky.

AI 'Reanimated' a Murder Victim Back to Life to Speak in Court (And Raises Ethical Quandaries)

AI avatars of dead people are teaching courses and testifying in court. Even with the best of intentions, the emerging practice of AI ‘reanimations’ is an ethical quagmire.

This Rare Viking Burial of a Woman and Her Dog Shows That Grief and Love Haven’t Changed in a Thousand Years

The power of loyalty, in this life and the next.

This EV Battery Charges in 18 Seconds and It’s Already Street Legal

RML’s VarEVolt battery is blazing a trail for ultra-fast EV charging and hypercar performance.

DARPA Just Beamed Power Over 5 Miles Using Lasers and Used It To Make Popcorn

A record-breaking laser beam could redefine how we send power to the world's hardest places.

Why Do Some Birds Sing More at Dawn? It's More About Social Behavior Than The Environment

Study suggests birdsong patterns are driven more by social needs than acoustics.