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

Ronan the Sea Lion Can Keep a Beat Better Than You Can — and She Might Just Change What We Know About Music and the Brain

A rescued sea lion is shaking up what scientists thought they knew about rhythm and the brain

Did the Ancient Egyptians Paint the Milky Way on Their Coffins?

Tomb art suggests the sky goddess Nut from ancient Egypt might reveal the oldest depiction of our galaxy.

Dinosaurs Were Doing Just Fine Before the Asteroid Hit

New research overturns the idea that dinosaurs were already dying out before the asteroid hit.

Denmark could become the first country to ban deepfakes

Denmark hopes to pass a law prohibiting publishing deepfakes without the subject's consent.

Archaeologists find 2,000-year-old Roman military sandals in Germany with nails for traction

To march legionaries across the vast Roman Empire, solid footwear was required.

Mexico Will Give U.S. More Water to Avert More Tariffs

Droughts due to climate change are making Mexico increasingly water indebted to the USA.

Chinese Student Got Rescued from Mount Fuji—Then Went Back for His Phone and Needed Saving Again

A student was saved two times in four days after ignoring warnings to stay off Mount Fuji.

The perfect pub crawl: mathematicians solve most efficient way to visit all 81,998 bars in South Korea

This is the longest pub crawl ever solved by scientists.

This Film Shaped Like Shark Skin Makes Planes More Aerodynamic and Saves Billions in Fuel

Mimicking shark skin may help aviation shed fuel—and carbon

China Just Made the World's Fastest Transistor and It Is Not Made of Silicon

The new transistor runs 40% faster and uses less power.