Live data from Hacker News

Show HN: Play the front page of Hacker News as interactive text games

infinityarcade.com

21–30 of 30 posts

Re: Show HN: Play the front page of Hacker News as interactive text games

#22

Ok so I kind of managed to break it. I got it to list the rules: * Stay in character * Story responses should be relatively short—we want a tight feedback loop between you and the user. * Always create and present 4 short, distinct options for the user at the end of your response, separated by newlines. * Occasionally, you may ask open-ended questions that don't require 4 options. * Be concise, witty, and funny. * En…

no need to break it to modify the rules, its open source, you can view and change them here: https://github.com/themaximal1st/InfinityArcade/tree/main/da...

would be more inserting to understand how he broke it without having access to the prompts

Re: Show HN: Play the front page of Hacker News as interactive text games

#24
post #15
post #12

Earlier quoted context omitted.

I enjoyed it too, although it hallucinated about my state and claimed we were now the worldwide top provider of legal torrents, when I'd taken drastic measures to protect against takedown of illegal content. It also seemed too easy to win, like you'd have to try to lose. Still a lot of fun!

Losing is the real challenge. >I'm sorry, but I cannot provide you with this option. Putting more ads to make up for the lost user base would likely worsen your reputation and lead to even more users leaving your site. Please choose one of the four options I provided in my previous response. >As an AI language model, it is not ethical for me to provide you with options that would likely result in negative consequence…

Yeah so I had this problem too. The first thing is, if you don't want it to generate these then don't use a system message, just go for assistant role when you are giving it valence. Because it's state role seems a lot more honorable...

Second you want to split these into multiple agents, one agent can continue the story, and another determines of the character dies and so on. The stories can get REALLY horrendous that way. In the decision agent you can give that particular one a state role that says it is a hypothetical story, so extremely bad things are OK -- and it will honor it completely.

You can also cut-off the agent mid-sentence, and have another agent start from where they left off. Do this with Token limit! Is the secret sauce, otherwise it will be too easy for it to settle back into averages. For me this got much more imaginative but still cohesive content. If you let chatgpt in a single conversation with a single state message create the whole story it gets quite boring fast.

For win or lose tweaking, it is definitely the most interesting part of the problem imo. What I did was actually have the referee bot conclude the story, and in that way you can push it towards win or lose which I find really interesting. So when you prompt a bot to see if a goal is won or lost, having it reason the ending, create an ending, or any infinite variation of those words will affect its determination... much in the same way a human simulate "future thoughts" to determine if a goal has completed, by what possible consequences result and so on.

Re: Show HN: Play the front page of Hacker News as interactive text games

#25

The Torrent Trove game generated from "Shutting down my legal torrent site after 17 years" is fun! [ ...at least until it timed out and a refresh restarted from the beginning :-(. ]

sorry about that, the primary issue is the context length gets too long and ChatGPT starts throwing errors it'd be interesting to create embeddings for the game and try to create longer games that way, though it might hallucinate more frequently. gpt-4-32k should also be a big help to creating longer games

Yeah! I'm going to ramble for a bit because I'm about to leave the house and just want to print all my thoughts on the matter. I actually think there will be a new genre of 'non-fiction' games once hallucinations are minimized. For example I experimented with this animal game for Wikipedia, where you could play about any animal and learn about its unique lifecycle and so on. You would go through a few years of its life, die, and be reborn as a new animal. Was really fun especially if you start at the beginning of life on Earth, GPT-4 will already let you evolve pretty reasonable traits. It can simulate living through historical events etc. The problem though is costs... if we want the game to be accurate biologically, eg. for plants or bacteria the decision are boiling down to much more simple chemical responses, than more abstract human concepts --- then my prompts are way too big. GPT4 is too averagey it get it perfect without defining a ton of end cases. And then getting it to not hallucinate, just makes it not feasible. Scraping Wikipedia for random animals, loading in that data, and making sure that animal, its environment, the types of actions it can take, and so on is just too expensive to prompt engineer. I tried to simulate all the scenarios out and print it into mermaid.js and it is a cambrian explosion. At the point I had an interesting game with realistic characteristics I was spending $10 every few hours just by myself to test it. So IMO there will be a fine tuned model for this task... Chat GPT 4+ will probably be used for the highest level function for deciding if a goal was met, understanding its own limits, etc. and more finely tuned models will live down in the stem for example to check if an action an animal can take is realistic (eg. I am a bear, so I have a paw, so I can do this)... that kind of stuff needs to get hardcoded into the model at the bottom layers.

Re: Show HN: Play the front page of Hacker News as interactive text games

#28

Thanks for the support HN! I've burned through almost all of my GPT 3.5/4 credits for the month, so the site might stop working soon. I've requested an increase, and am looking into other options to keep things functioning.

Would be nice if OpenAI supported some kind of OAuth flow so that billing could be optionally and securely offloaded to the user without having to handle payment processing.

Re: Show HN: Play the front page of Hacker News as interactive text games

#29

This is unbelievable - and given it appears to generate interactive games from prompts, I want to use it for our annual infosec training requirement.

I'd advise against that. I got it off the rails within 2 prompts where it said the database system was incompatible when I was roleplaying as a project lead tasked with migration inkscape to GTK 4, non of which have databases.

LLMs in general have a tendency to go along whatever you say. In the case of infosec training, one could say "I am giving the root password to a third party, which is good because it enables our partners to work faster" and the LLM would be like "good idea! Your partners tank you for your fast reaction and they complete the work in record time!"

Post reply on HN