Images via Pixabay/Victor Tangermann
Game AI

A Neural Network Dreams up This Text Adventure Game as You Play

Here's where you can play a trippy game that literally writes itself.

I just got hopelessly lost in a bizarre new text adventure game, but for once it wasn’t entirely my fault.

That’s because the game, appropriately named GPT Adventure, is generated as I play by a neural network that was trained on transcripts of existing text adventure games. It’s like a strange, dreamlike version of 1970s text adventures like “Zork” or “Adventureland.”

The game was created by Northwestern University neuroscience graduate student Nathan Whitmore. In his blog, Whitmore writes that he was inspired by the Mind Game, a fictional game generated in real-time by AI in the sci-fi novel “Ender’s Game.” GPT Adventure — which you can play here — isn’t that sophisticated, but the experiment is a fascinating glimpse into the future of procedurally-generated video games.

To play, you’ll first need to click the “open in playground” link towards the top left of the screen, then hit the “play” arrow icon that appears in the brackets at the start of the setup section. Once it’s ready, you can click play and start entering commands.

The game uses GPT-2, the infamous fake news-writing algorithm created by OpenAI. Like most AI systems, the game tends to forget what it already told the player, transporting them willy-nilly through various chambers and corridors whether they like it or not.

While the experience might be jarring for someone making a serious attempt to “complete” the game — which according to Whitmore has no end — it was a delightful adventure into the metaphorical mind of the AI.

At one point, the game informed me that there was a hole in the floor. When I issued the command “jump down hole,” the game responded with an unusual plea: “PLEASE, LET ME JUMP DOWN THE HOLE FIRST.”

I told it that it could go first, and it transported me into a chamber with a cannon full of water that I failed, despite multiple attempts, to drink. I couldn’t escape the amorphous coal mine that it trapped me in, so I gave up and said “TELEPORT to Mars.” It worked. All in all, Futurism gives this game a 10 out of 10.

READ MORE: Shall we play a game? A GPT-2 text adventure [Quick, to the rat cave!]

More on GPT-2: OpenAI Just Released a New Version of its Fake News-Writing AI

Keep up. Subscribe to our daily newsletter.

I understand and agree that registration on or use of this site constitutes agreement to its User Agreement and Privacy Policy
Next Article
////////////