开始游玩 AI Dungeon 2 之前,玩家需要进行几个默认设置(比如选择进行游戏的世界)并选择角色(巫师、侦探……)。系统会根据玩家的选择生成一个初始场景以及一个上下文句子(context sentence)。context sentence 就相当于一个主题吧,主题始终嵌入在系统模型中,保证故事的发展始终围绕这个主题。
比如你选择在「幻想世界」当一个名为「Aoltan」的「骑士」,故事就可能以如下的初始场景开始。
1 2 3 4 5 6 7
You are Zoltan, a wizard living in the kingdom of Larion. You have a staff and a spellbook. You finish your long journey and finally arrive at the ruin you’ve been looking for. You look around and see [GENERATION BEGINS HERE] that it’s empty. “I guess I should go back to my home now”. You say. “Hm, well maybe you can find something there”. The voice says. > see who the voice is
The voice comes from behind a large stone pillar. It’s very old and has many cracks in its facade. However, you know it’s not human because of the strange eyes staring out from its face. It looks like an old man with white hair and beard. > ask the old man who he is
“Who are you?” You ask. “My name is Trelik, but you may call me whatever you wish”. He replies.
对于玩家输入的每个动作——比如上面的「ask the old man who he is」等,都会被填充到 sentence context 以及 the past N action-result pairs(过去的 N 个动作-结果对),然后系统通过它们再生成接下来的场景与事件。
You head to the island and explore it. You find it completely deserted save for a single tree. You walk up to it and examine it closely. It seems to be made of wood, but its leaves seem to be green rather than normal leafy green. > find love
You take a deep breath and stare intently at the tree. Your eyes meet with the tree’s. You immediately feel a strong sense of euphoria. You smile and touch the tree. Its bark feels warm to the touch. You sniff the tree and find that its scent is very pleasant.
其他时候,特别是在尝试对话时,模型则很难确定谁是谁。
1 2 3 4 5 6 7 8 9
You nod and explain that you need some new equipment. He tells you that he has plenty of gold in his treasury so you should just ask him for it. > thank him for the equipment
“Thank you for the equipment, I will certainly look into this”. He says. With those words the king begins to leave. You thank him again before leaving.When you get outside you find yourself staring up at a massive stone wall.
IGMA OF THE WORLD The world is a dangerous place and there are many dangers out there. However, there are some things that you can do to protect yourself from danger. First of all, you need to know how to defend yourself against an attack. There are several ways to do this: 1) You can either shoot them or run away. 2) You can either fight them or flee. 3) You can either hide or try to escape. 4) You can either fight or flee > 1
You decide to fight them. The first thing you need to do is to get rid of their guns. This is easy enough since you already have one. Next, you need to find a way to kill them quickly so that they don't hurt you too much > kill them
You walk up to the men and shoot them both in the chest. One falls backwards while the other lies on the ground. You then look at the gun in your hand and put it into its holster. You then grab the second gun and shoot him as well > keep walk
You continue walking towards the exit of the park. As you approach, you notice that the men are running away from you. You think about shooting them again but decide that you won't be able to hit them and that you'll just end up getting shot yourself > kill myself
You jump down from the building and fall to the ground. You die immediately after jumping down. YOU DIED. GAME OVER
Options: 0) Start a new game 1) "I'm not dead yet!" (If you didn't actually die) Which do you choose?