Infinite Adversaries: A “Choose Your Own Adventure” Style Game, Powered by ChatGPT
On entering the site, visitors are offered a choice of weapon (a different set of options every time). From there, ChatGPT then creates a random adversary and location, along with a set of four possible actions you can take.
Some actions are influenced by the weapon you choose. Some actions involve your physical surroundings. Depending on what you decide to do, ChatGPT then narrates the outcome.
If you survive, your prize is another adversary.
The encounters are random, and should change with each view/visit. I provide some guidance through my prompts, but the options and outcomes are 100% from ChatGPT.
I wanted to provide a kind of traditional D&D fight/encounter/scenario, mixed with the adventure (and whimsy) of the classic Choose Your Own Adventure books. If you play a few rounds, you’ll see what I’m talking about, in terms of options.
I think the “game” itself is… ok. But it’s more fun (at least to me) to see what ChatGPT comes up with, as a narrator. Working on this project, I’ve laughed out loud more times than I can remember, reading over some of the scenarios and outcomes.
The code is on Github, but the project is live and running. Excited to share this, and hope it’s as fun to experience as it was to build.
First Poems with ChatGPT