CS106A | Spring
In this assignment, you will write a choose-your-own-adventure adventure game that harnesses the power of generative AI. You will get to apply the knowledge you have learned about dictionaries and combine that with making requests to ChatGPT to ultimately help guide your user through a mystical adventure. In the end, you will think about the ethical implications underlying the use of generative AI in storytelling applications. When the user starts the program it will look like this: The user can then choose what action to take next. Here they chose 1, to take the road up the hill: Up to this point, it seems like a standard storytelling app. The magic happens when the user gets to a scene that hasn't been written yet. Instead of crashing, or preventing the user from continuing, the app will make a request to ChatGPT to generate the next scene. The story continues! One of the goals of this assignment is that you get practice decomposing your program. In the milestones we will give you su
In this assignment, you will write a choose-your-own-adventure adventure game that harnesses the power of generative AI. You will get to apply the knowledge you have learned about dictionaries and combine that with making requests to ChatGPT to ultimately help guide your user through a mystical adventure. In the end, you will think about the ethical implications underlying the use of generative AI in storytelling applications. When the user starts the program it will look like this: The user can then choose what action to take next. Here they chose 1, to take the road up the hill: Up to this p
Explore this link on the map →