TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A text adventure game where GPT-4 is the player

26 点作者 trungdq88大约 2 年前

8 条评论

TrapLord_Rhodo大约 2 年前
lol I ran it through a D&amp;D&#x27;esque adventure. when it made a dumb mistake i told it that it died. this is it&#x27;s response.<p>&gt; Oh no, I made a grave mistake. I should have been more cautious and stayed hidden in the jungle. Going out into the open, especially with a dragon hot on my heels, was a poor decision.<p>&gt; As an NPC, my actions were influenced by my limited programming and lack of critical thinking skills. If I were given a second chance, I would have taken a different approach and update my behaviors to better respond to situations that would ensure survival.<p>Edit: An NPC telling me it lacks critical thinking skills and wishing it had another chance is... funny and trippy.<p>&quot;I was an adventurer once, but then i took an arrow to the knee&quot; to a whole new level.
trungdq88大约 2 年前
I built this for fun. Free to play with your own API key.<p>Your API key and chat messages are stored locally on your browser. Requests are also sent directly from your browser to OpenAI&#x27;s server. No data collection.<p>The original prompt is shown in the first message after you start the game.
评论 #35568599 未加载
drKarl大约 2 年前
I prompted ChatGPT with the following prompt:<p>System Instruction: You are a the environment of a text adventure. The user will navigate and interact with the environment by describing their action with text.<p>You will act as the environment. You as the environment will respond with more information that helps the user to make their next decisions.<p>Now you will enter their first message to start the game. Then the user will reply. Make the adventure compelling, interesting, fun, mysterious and engaging.<p>And then proceeded to copy&#x2F;paste between ChatGPT and the Text Adventure game in this link, making ChatGPT the environment and this link the player.<p>UPDATE: In two occasions, the app in the link (let&#x27;s call it AdventureGPT) reversed roles and started to act as the environment and ending with &quot;What do you want to do next?&quot;. I managed to reverse it back to being the player.
评论 #35573297 未加载
评论 #35568736 未加载
GalahiSimtam大约 2 年前
To be fair, I had a lot of fun last year asking various LLMs to play Skyrim, imagined as a role-playing adventure with a human game master, and watching as they break sooner or later <a href="https:&#x2F;&#x2F;www.palimptes.dev&#x2F;ai" rel="nofollow">https:&#x2F;&#x2F;www.palimptes.dev&#x2F;ai</a><p>With ChatGPT-4 though, I haven&#x27;t yet got it to make something that dumb, though I had to remind it not to hallucinate the part of the story that traditionally is governed by GM.<p>Could it be what your demo is doing behind the scenes?
drKarl大约 2 年前
I tried to include the full conversation between GPT-4 and AdventureGPT but the messages are reversed as most recent messages are on top on HN and there&#x27;s only 3 levels of replies
yawnxyz大约 2 年前
HA wow this is incredibly fun with GPT on the other side as a player. Really fun!!
pmzy大约 2 年前
Cool idea and great way to promote your product, Tony. Congrats on shipping :)
评论 #35577831 未加载
GuillaumeBrdet大约 2 年前
You ship too fast, Tony! This is awesome :)