Hacker News new | ask | show | jobs
GPT-3 Adventure Game Engine (github.com)
1 points by nferraz 1152 days ago
1 comments

looks pretty neat.

do you have a video or a blog with examples of what it looks like running?

It's a simple text adventure game engine. It looks like this:

---

The Lost Kingdom

You are a brave explorer on a quest to find the lost kingdom of an ancient civilization.

You are in a mysterious cave with passageways leading in different directions.

What do you want to do? look

You are in a mysterious cave with passageways leading in different directions.

I see here: a glowing gem

Exits: north

What do you want to do? take gem

Taken!

What do you want to do? look at gem

It's a glowing gem with an intricate pattern carved into its surface.

---

An interesting new feature is that you can ask the computer to do non-scripted things, like:

---

What do you want to do? eat gem

# Generating action...

You attempt to eat the gem, but it doesn't taste good. You spit it out and the gem is still in your possession.

---

The game, the scenario, the objects -- everything was created by GPT-3, and the script just have to keep track of the game state.