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

Westerners cheat AI agents while Japanese treat them with respect

Japan’s robots are redefining work, care, and education — with lessons for the world.

Scientists Turn to Smelly Frogs to Fight Superbugs: How Their Slime Might Be the Key to Our Next Antibiotics

Researchers engineer synthetic antibiotics from frog slime that kill deadly bacteria without harming humans.

This Popular Zero-Calorie Sugar Substitute May Be Making You Hungrier, Not Slimmer

Zero-calorie sweeteners might confuse the brain, especially in people with obesity

Any Kind of Exercise, At Any Age, Boosts Your Brain

Even light physical activity can sharpen memory and boost mood across all ages.

A Brain Implant Just Turned a Woman’s Thoughts Into Speech in Near Real Time

This tech restores speech in real time for people who can’t talk, using only brain signals.

Using screens in bed increases insomnia risk by 59% — but social media isn’t the worst offender

Forget blue light, the real reason screens disrupt sleep may be simpler than experts thought.

We Should Start Worrying About Space Piracy. Here's Why This Could be A Big Deal

“We are arguing that it’s already started," say experts.

An Experimental Drug Just Slashed Genetic Heart Risk by 94%

One in 10 people carry this genetic heart risk. There's never been a treatment — until now.

We’re Getting Very Close to a Birth Control Pill for Men

Scientists may have just cracked the code for male birth control.

A New Antibiotic Was Hiding in Backyard Dirt and It Might Save Millions

A new antibiotic works when others fail.