Reddit 用户打造 ChatGPT 互动像素世界
AI 总结
一名 Reddit 用户展示了通过 ChatGPT 生成的像素世界,玩家可以与 NPC 对话、拾取物品并更换服装。制作者称,该体验由一个 3.7 万行的用户脚本驱动,脚本会读取 ChatGPT 回应并在玩家操作后写回页面。相关说法与实现细节尚未得到独立验证。
深度见解
这项演示展示了社区将 ChatGPT 与互动游戏界面结合的一种方式,但其功能依赖规模庞大的用户脚本,并非 ChatGPT 独立运行该世界。
| This is a new world ChatGPT generated for me today, and it’s fun to experiment with it, talk to NPCs, pick things up, change their costumes and see how ChatGPT responds. I made one the NPCs to wear a SpongeBob costume. How cool is that? xD The setting is a Halloween party. Somebody died/was murdered. I left the video raw so you can see how ChatGPT works behind the scenes. This is "just" a userscript (37k lines) that loads on the same page and reads from the ChatGPT answer and writes back whenever you perform an action. If you want the full story (warning: it’s a long read) or want to try it yourself, here’s my earlier post about the script: https://www.reddit.com/r/ChatGPT/comments/1xnjob6/nobody_said_i_couldnt_so_i_built_a_game_right_on/ submitted by /u/ehtio [link] [comments] |