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

Archaeologists Found A Rare 30,000-Year-Old Toolkit That Once Belonged To A Stone Age Hunter

An ancient pouch of stone tools brings us face-to-face with one Gravettian hunter.

Scientists Crack the Secret Behind Jackson Pollock’s Vivid Blue in His Most Famous Drip Painting

Chemistry reveals the true origins of a color that electrified modern art.

China Now Uses 80% Artificial Sand. Here's Why That's A Bigger Deal Than It Sounds

No need to disturb water bodies for sand. We can manufacture it using rocks or mining waste — China is already doing it.

Over 2,250 Environmental Defenders Have Been Killed or Disappeared in the Last 12 Years

The latest tally from Global Witness is a grim ledger. In 2024, at least 146 people were killed or disappeared while defending land, water and forests. That brings the total to at least 2,253 deaths and disappearances since 2012, a steady toll that turns local acts of stewardship into mortal hazards. The organization’s report reads less like […]

After Charlie Kirk’s Murder, Americans Are Asking If Civil Discourse Is Even Possible Anymore

Trying to change someone’s mind can seem futile. But there are approaches to political discourse that still matter, even if they don’t instantly win someone over.

Climate Change May Have Killed More Than 16,000 People in Europe This Summer

Researchers warn that preventable heat-related deaths will continue to rise with continued fossil fuel emissions.

New research shows how Trump uses "strategic victimhood" to justify his politics

How victimhood rhetoric helped Donald Trump justify a sweeping global trade war

Biggest Modern Excavation in Tower of London Unearths the Stories of the Forgotten Inhabitants

As the dig deeper under the Tower of London they are unearthing as much history as stone.

Millions Of Users Are Turning To AI Jesus For Guidance And Experts Warn It Could Be Dangerous

AI chatbots posing as Jesus raise questions about profit, theology, and manipulation.

Can Giant Airbags Make Plane Crashes Survivable? Two Engineers Think So

Two young inventors designed an AI-powered system to cocoon planes before impact.